CSP Python For Loops

CSP Python For Loops

•

26 Qs

quiz-placeholder

Similar activities

latihan soal informatika SMALSA

latihan soal informatika SMALSA

10th Grade

•

25 Qs

CPU Architecture

CPU Architecture

7th Grade

•

23 Qs

Cascade Style Sheet

Cascade Style Sheet

University

•

21 Qs

Java Quiz on Module 1 & 2

Java Quiz on Module 1 & 2

Professional Development

•

21 Qs

Quiz 1

Quiz 1

University

•

23 Qs

The ultimate gaming test

The ultimate gaming test

University

•

21 Qs

KUIS INFORMATIKA (KOMPUTER)

KUIS INFORMATIKA (KOMPUTER)

12th Grade

•

21 Qs

programming 8.2 and 8.3

programming 8.2 and 8.3

Professional Development

•

22 Qs

CSP Python For Loops

CSP Python For Loops

Assessment

Quiz

•

Computers, Education

•

•

Practice Problem

•

Medium

Created by

Emre Korkmaz

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

FOR loops are

loops which run an unknown number of times

loops which run for a specific number of times

the same as if statements

not part of programming

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What value is stored in the "total" variable after the following code runs?

total = 0

for i in range(1,4):

total = total + i

0

6

7

5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will this code output?

nothing at all

dude

dude, 4 times

dude, 6 times

dude, 3 times

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code, what is the "i"

a while loop

a variable

iteration

a loop

random letter

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code, what is "range"?

a function

a variable

iteration

a loop

selection

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code, what is "for"?

a function

sequence

iteration

a while loop

selection

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this code, how would the code need to be changed, to print "dude" 10 times?

change the "dude", to a 10

change the 4, to a 10

change the for, to a while

change the 4, to an 11

change the print to an input()

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?