Programming Logic Quiz

Programming Logic Quiz

Professional Development

33 Qs

quiz-placeholder

Similar activities

QUETIONING & FEEDBACK

QUETIONING & FEEDBACK

Professional Development

28 Qs

Brexit and Money vocab

Brexit and Money vocab

12th Grade - University

28 Qs

觀光餐旅業概論-第一章-複習測驗

觀光餐旅業概論-第一章-複習測驗

10th Grade

36 Qs

Organizational Behavior - Unit 3

Organizational Behavior - Unit 3

Professional Development

30 Qs

AES - T41BDK

AES - T41BDK

KG - Professional Development

28 Qs

Supervisory

Supervisory

Professional Development

30 Qs

BREVET INDIHOME 3P MITRA

BREVET INDIHOME 3P MITRA

Professional Development

30 Qs

Ujian Akhir Semester PSRTV

Ujian Akhir Semester PSRTV

11th Grade

30 Qs

Programming Logic Quiz

Programming Logic Quiz

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Easy

Created by

MJM Grefaldo

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

33 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If x > 5 Then x = x + 1 End If What happens if x is 6?

x stays 6

x becomes 7 (Correct)

x becomes 5

No change

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If temperature = 50 Then result = "Pass" End If What happens if score is 75?

result = "Fail"

result = "Pass" (Correct)

score is reset to 50

Nothing changes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If count = 10 Then count = 0 End If When does count reset to 0?

Whenever count is odd

When count is 10 (Correct)

If count is greater than 10

It never resets

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If items > 100 Then discount = 0.2 End If How is discount set if items is 150?

discount remains 0

discount = 0.1

discount = 0.2 (Correct)

discount = 0.5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For i = 1 To 3 display(i) Next i Which values of i are displayed?

1, 2, 3 (Correct)

2, 3, 4

1, 3

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If userAge >= 18 Then canVote = True End If Under what condition is canVote set to True?

userAge = 18 (Correct)

Always False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

While num 1000 Then shipping = "Free" End If When does shipping become “Free”?

total 1000 (Correct)

total = 1000

Always

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 Professional Development