Search Header Logo

For loop

Authored by Gulzira Seilova

Computers

8th Grade

Used 81+ times

For loop
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what will this display?/ Экранға қандай жауап шығады?

0,1,2,3,4,5

0,1,2,3,4

1,2,3,4,5

Error

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

For i in range(5):

print('Happy Python') Мына код орындалғанда 'Happy Python' сөзі неше рет экранға шығады?

4

5

6

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What are the syntax errors in this code?/ Қандай синтаксистік қате бар?

:

Not indented

Both options

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

What is the variable in this for loop. /Мына for циклының есептегішін/айнымалысы/ көрсетіңіз.

x

(6)

for

range

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

This loop can only be used when the programmer knows the number of times a code is to be repeated/ Бұл циклды программист оның қанша рет қайталанатынын білген кезде қолданады.

while

for

do while

repeat until

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a loop? Цикл дегеніміз не?

A condition

A set of intructions that are repeated until a certain condition is met

A set of rules

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To repeat a fixed number of times use a / Алдын ала белгілі қайталану санын қолданатын цикл

while loop

for loop

if loop

indentation

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?