conditional and iterative statements

conditional and iterative statements

11th Grade

10 Qs

quiz-placeholder

Similar activities

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

Quiz 5 - Excel

Quiz 5 - Excel

11th Grade

10 Qs

Python List

Python List

4th Grade - University

15 Qs

Tin 11 - Bài 2 - Phần 1

Tin 11 - Bài 2 - Phần 1

11th Grade

10 Qs

1.1.1 The structure and function of the processor

1.1.1 The structure and function of the processor

11th Grade - University

15 Qs

Характеристики зображення та засобів його відтворення

Характеристики зображення та засобів його відтворення

1st - 12th Grade

12 Qs

PUNCTUATION SPACING RULES

PUNCTUATION SPACING RULES

9th - 12th Grade

10 Qs

OCR GCSE CS - 2.1 ERL sorts and searches

OCR GCSE CS - 2.1 ERL sorts and searches

10th - 11th Grade

9 Qs

conditional and iterative statements

conditional and iterative statements

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

JAGANNATHAN D

Used 50+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 12 pts

Media Image

12  17   22
5
12
5  10

2.

MULTIPLE CHOICE QUESTION

45 sec • 12 pts

Media Image

12  9  6  3  0
0  3  6  9  12
9  6  3  0
0  3  6  9

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

The program above

prints all the odd numbers between 1 and 20

prints all even numbers between 1 and 20

print all the odd numbers between 1 and 21

prints all the even numbers between 1 and 21

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

The equivalent of the above for loop using the while syntax would be

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

How many times will 1 be printed

3

4

5

6

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

for i in 100 :

print ( i )

Syntax error

prints numbers 0 to 100

prints numbers 1 to 100

prints numbers 0 to 99

prints numbers 1 to 99

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What does this program print

2 + 2 = 4

4 + 4 = 8

8 + 8 = 16

16 + 16 = 32

32 + 32 = 64

2 + 2 = 4

2 + 2 = 4

2 + 2 = 4

2 + 2 = 4

2 + 2 = 4

2 + 2 = 4

2 + 4 = 6

2 + 6 = 8

2 + 8 = 10

2 + 10 = 12

2 + 2 = 4

2 + 2 = 4

2 + 2 = 4

2 + 2 = 4

2 + 2 = 4

2 + 4 = 6

2 + 6 = 8

2 + 8 = 10

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?