Structured Programming and OOP Quiz

Structured Programming and OOP Quiz

University

40 Qs

quiz-placeholder

Similar activities

python

python

11th Grade - University

35 Qs

IT 121- Formative Assessment # 2

IT 121- Formative Assessment # 2

University

40 Qs

function in Python

function in Python

University

37 Qs

Midterm prep 10 gr

Midterm prep 10 gr

10th Grade - University

45 Qs

JAVA BASIC 2

JAVA BASIC 2

University

35 Qs

Python Quiz Module1

Python Quiz Module1

University

40 Qs

Python Quiz

Python Quiz

University

45 Qs

Python.Comp Quiz (Python Coding)

Python.Comp Quiz (Python Coding)

9th Grade - University

40 Qs

Structured Programming and OOP Quiz

Structured Programming and OOP Quiz

Assessment

Quiz

Computers

University

Medium

Created by

official garbage

Used 2+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Faisal has a number, x, which is 5. He wants to check if this number is greater than 3. If it is, he will say "Lebih besar dari 3"; otherwise, he will say "Tidak lebih besar dari 3".

Lebih besar dari 3

Tidak lebih besar dari 3

Error

Tidak ada output

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Rizal is counting the number of apples he picked from the tree. He picks apples in three rounds. In each round, he counts the apples he picked. What will he say after each round?

0 1 2

1 2 3

0 1 2 3

1 2 3 4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lina is counting the number of apples she has. She starts at 0 and continues counting until she has counted 3 apples. What is the output of the following code? count = 0 while count < 3: print(count) count += 1

0 1 2

1 2 3

0 1 2 3

Tidak ada output

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a programming class, Adi is learning about switch statements. He writes the following code: switch = 2 switch (switch): case 1: print("Satu") case 2: print("Dua") default: print("Tidak ada")

Satu

Dua

Tidak ada

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a classroom, Susi is asked if the sky is blue. If she answers True, she will say "Benar"; otherwise, she will say "Salah". What will Susi say?

Benar

Salah

Error

Tidak ada output

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Adi is counting numbers from 1 to 5. He decides to print only the even numbers he encounters. What will he print?

1 3

2 4

1 2 3 4

0 2 4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mega is counting the number of apples she has. She starts with a count of 0. She decides to print the count and then add 1 to it in a loop until she has counted to 3. What will be the output of her counting process?

0 1 2

1 2 3

0 1 2 3

Tidak ada output

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?