Python Day 7

Python Day 7

University

6 Qs

quiz-placeholder

Similar activities

Python_R

Python_R

2nd Grade - Professional Development

8 Qs

Python Basics

Python Basics

University

10 Qs

C Classes

C Classes

University

10 Qs

Python Quiz 1

Python Quiz 1

University

10 Qs

Python

Python

University

10 Qs

exception

exception

University

10 Qs

for loops & while loops

for loops & while loops

University - Professional Development

10 Qs

TECHNICAL C PROGRAM

TECHNICAL C PROGRAM

University

10 Qs

Python Day 7

Python Day 7

Assessment

Quiz

Computers

University

Hard

Created by

Ninitha C

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A while loop is used when
You know how many times you are going to loop
You only want to run the code in the loop once
You see the word while in the problem description
You want to loop for an unknown number of times, and possibly forever

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output if the user enters "Python"?

Welcome

Try again

Try again
Welcome

Enter your password

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Output?
Hello world!
Hello world
Hello world! Hello world! Hello world! Hello world! Hello world! Hello world! ......(repeated continuously)
Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Output?
11 9 88 The number 88 is found Terminating the loop
11 9 88 The number 88 is found Terminating the loop 10 90 3 19
11 9 88 Terminating the loop
11 9 88 10 90 3 19

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Output?
5 4 3 2 1
4 3 2 1 0
5 4 3 2 1
4 3 2 1 0

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image
Output?
1 2 3 4 5 6 7 8 9 10
2 3 4 5
2 3 4 5 6 7 8 9
2 3 4 5 6