Loops Python

Loops Python

9th Grade

13 Qs

quiz-placeholder

Similar activities

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

CD 3 PHẦN MỆ SOẠN THẢO VĂN BẢN

CD 3 PHẦN MỆ SOẠN THẢO VĂN BẢN

1st - 7th Grade

12 Qs

Introduction to cloud Computing.

Introduction to cloud Computing.

1st - 3rd Grade

10 Qs

Java: repetition control structure for & while

Java: repetition control structure for & while

10th - 12th Grade

10 Qs

ข้อมูลและการประมวลผลข้อมูล

ข้อมูลและการประมวลผลข้อมูล

7th Grade

15 Qs

ASK Bab 2

ASK Bab 2

2nd Grade

11 Qs

Loops Python

Loops Python

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Sarbagya Malla

Used 372+ times

FREE Resource

AI

Enhance your content in a minute

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

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

A while loop can be used in which of the following situations?

Repeat a set of statements till a condition remains True.

Repeat a set of statements a finite or an infinite number of times.

Iterate through a string, list, and tuple.

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

a type of graphics

A box(memory location) where you store values

Data type

a type of memory

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used in python to assign values to a variable?

equals =

plus +

minus -

asterisk *

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = "Dave"

print (name)

(name)

Dave

name

Nothing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A syntax error means your code has a 'grammar' mistake or you used symbols/operations incorrectly

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement correctly assigns the string "Tanner" to the variable name?

name  = print( "Tanner")

input("Tanner")

name= "Tanner"

name = input("Tanner")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output from the following code?

print ("hello world")

hello world

print

nothing

"HELLO WORLD"

Access all questions and much more by creating a free account

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?