Day 4 Python Quiz Flow controls

Day 4 Python Quiz Flow controls

University

10 Qs

quiz-placeholder

Similar activities

pra uts gansal

pra uts gansal

University

10 Qs

Adobe Premiere CC.2

Adobe Premiere CC.2

University

13 Qs

mba bnm

mba bnm

University

10 Qs

Los textos expositivos y el ensayo.

Los textos expositivos y el ensayo.

University

15 Qs

DLOE REPASO

DLOE REPASO

University

15 Qs

What is Diabetic ?

What is Diabetic ?

University

10 Qs

Lectura y redacción TEMA 2

Lectura y redacción TEMA 2

University

10 Qs

PLANNING + STEPS

PLANNING + STEPS

University

12 Qs

Day 4 Python Quiz Flow controls

Day 4 Python Quiz Flow controls

Assessment

Quiz

Education

University

Practice Problem

Medium

Created by

Oshi Maga

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...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1. Which of the following is not used as loop in Python?

A. for loop
B. while loop
C. do-while loop
D. None of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

2. Which one of the following is a valid Python if statement :

A. if a>=2
B. if (a >= 2)
C. if (a => 22)
D. if a >= 22

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

3. Which of following is not a decision-making statement.

A. if statement
B. if-elif statement
C. for statement
D. if -else statement

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

4. Point out the correct statement?

A. Break will execute a loop while a condition is true
B. The if/else statement conditionally evaluates two statements
C. Blocks are evaluated until a new line is entered after the closing brace
D. Single statements are evaluated when a new line is typed at the start of the syntactically complete statement

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

5. The order of statement execution in the form. of top to bottom, is known _____ as construct.

A. flow
B. selection
C. repetition
D. sequence

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

6. What does ~~~~~~5 evaluate to ??

A. +5
B. -5
C. +11
D. -11

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

7. Which is the correct operator for power(xy)?

A. X^y
B. X**y
C. X^^y
D. None of the mentioned

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?

Discover more resources for Education