Python session 3

Python session 3

12th Grade

5 Qs

quiz-placeholder

Similar activities

C++ Programming Quiz

C++ Programming Quiz

12th Grade

10 Qs

Programming - Iteration, Basic Programming Constructs & Loop

Programming - Iteration, Basic Programming Constructs & Loop

2nd - 12th Grade

10 Qs

Programming - Algorithms in Pseudocode & Flow Diagrams

Programming - Algorithms in Pseudocode & Flow Diagrams

1st - 12th Grade

10 Qs

Lesson 5 (CIW JavaScript)

Lesson 5 (CIW JavaScript)

9th - 12th Grade

2 Qs

Python Programming Structure

Python Programming Structure

12th Grade

10 Qs

2.2 programming fundamentals

2.2 programming fundamentals

9th - 12th Grade

10 Qs

Apple Swift Playgrounds: Lesson Review: 4 - 6 Vocabulary

Apple Swift Playgrounds: Lesson Review: 4 - 6 Vocabulary

9th - 12th Grade

10 Qs

Programming Techniques

Programming Techniques

11th - 12th Grade

10 Qs

Python session 3

Python session 3

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Mohammad Saleem

Used 2+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the value of the var after the for loop completes its execution

-2, -1, -3, -4

-2, -1, 0, 1, 2, 3,

-2, -1, 0

-2, -3, -4,

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Given the nested if-else below, what will be the value x when the code executed successfully

3

4

2

0

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output of the following nested loop

10 Chair
10 Table
20 Chair
20 Table

10 Chair
10 Table

10 20

Chair Table

10 Chair

20 Table

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output of the following nested loop?

11
13

12

13

10
11
12
13

10

11

12

13

14

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What is the output from this code snippet?

5

4

3

2