variables , if … else, while and loop for_HKICO_Python

variables , if … else, while and loop for_HKICO_Python

12th Grade

27 Qs

quiz-placeholder

Similar activities

Fun Computing KS2

Fun Computing KS2

3rd - 12th Grade

22 Qs

Teste de avaliação UFCD0822

Teste de avaliação UFCD0822

9th Grade - Professional Development

22 Qs

UH 1-MYOB Manufaktur

UH 1-MYOB Manufaktur

12th Grade

25 Qs

Контрольный тест по программированию в Unity

Контрольный тест по программированию в Unity

9th - 12th Grade

22 Qs

SERIES1 VKL

SERIES1 VKL

12th Grade

23 Qs

TIK01

TIK01

12th Grade

25 Qs

GAD Review - Game Industry

GAD Review - Game Industry

9th - 12th Grade

22 Qs

Test IP

Test IP

12th Grade

25 Qs

variables , if … else, while and loop for_HKICO_Python

variables , if … else, while and loop for_HKICO_Python

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Sỹ Minh

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

A. JamesJamesJamesJamesJamesJames

B. JamesJamesJamesJamesJames

C. JamesJamesJamesJames

D. JamesJamesJames

E. Error: invalid syntax

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A. 20

B. 21

C. 10

D. 30

E. None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Media Image
Media Image
Media Image
Media Image

E. It doesn’t generate any output.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What gets printed?

A. 4

B. 3

C. 2

D. 1

E. 7

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A. 2, 4, 6

B. 0, 1, 2, 4, 5, 6

C. 0, 1, 4, 5

D. 0, 1, 4, 5, 6, 7, 8, 9

E. 1, 2, 4, 5, 6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following code,
What is the output?

A. 1

B. 2

C. 3

D. 4

E. 5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What gets printed as the output of the below code?

A. 1

B. 2

C. 3

D. 4

E. None of the above

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?