Discovery-Piscine Day 3

Discovery-Piscine Day 3

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Empowerment Technologies Quiz 2

Empowerment Technologies Quiz 2

11th Grade

10 Qs

ไมโครคอนโทรลเลอร์ & Arduino Uno R3

ไมโครคอนโทรลเลอร์ & Arduino Uno R3

12th Grade

20 Qs

 Unit 4 Advanced AP CSP

Unit 4 Advanced AP CSP

9th - 12th Grade

10 Qs

8525 AQA GCSE  3.1.1 Pseudo-code

8525 AQA GCSE 3.1.1 Pseudo-code

10th - 11th Grade

14 Qs

Functions in C++

Functions in C++

11th Grade

20 Qs

Software Testing

Software Testing

12th Grade - University

10 Qs

UH1_19-20_WAN

UH1_19-20_WAN

11th Grade

15 Qs

Discovery-Piscine Day 3

Discovery-Piscine Day 3

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Quiz Master

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to check if a number entered by a user is exactly zero?

if num == 0:

if num == 0

check num = 0

if num = 0

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following conditions would return True only if a number is negative?

number > 0

num = negative

number < 0

num == negative

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the break keyword in a loop?

Ends the program

Restarts the loop

Stops the loop early

Skips an iteration

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the final value of count after this loop runs?

5

6

4

Infinite

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this code print?

Access Granted

Access Denied

Error

Welcome

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is printed by the following code?

0

a*b

4

40

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

If input is 3, what will this piece of code do?

Prints 3 only

Prints numbers 3 to 5

Infinite loop

Syntax error

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

Already have an account?