Basic Python

Basic Python

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

LATIHAN SOAL INSTALASI DEBIAN 10

LATIHAN SOAL INSTALASI DEBIAN 10

11th Grade

20 Qs

PH 1 INFORMATIKA XI

PH 1 INFORMATIKA XI

11th Grade

15 Qs

J277 Test, trace and validate

J277 Test, trace and validate

9th - 11th Grade

21 Qs

Arduino_Quiz

Arduino_Quiz

12th Grade

20 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Python Syntax II

Python Syntax II

10th Grade

16 Qs

Java by Mr Sam

Java by Mr Sam

10th Grade

16 Qs

Javascript Quiz 2

Javascript Quiz 2

11th Grade

15 Qs

Basic Python

Basic Python

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Hard

Used 2K+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To repeat a fixed number of times use a

while loop
for loop
if loop
indentation

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The second part of if, that is executed when the condition is false

if
else
for
input

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The character that must be at the end of the line for if, while, for etc.

:
;
.
,

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Converts a number to a string

str()
int()
parseInt()
convert

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python identifies blocks of code by

BEGIN and END keywords
{ and }
aligning up the starts of lines (indentation)
guessing

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is a correctly-formatted comment?

#Comment
&Comment
""Comment""
!Comment

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

stores a piece of data, and gives it a specific name

variable
whitespace
interpreter
modulo

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?