Programming Logic Quiz

Programming Logic Quiz

12th Grade

35 Qs

quiz-placeholder

Similar activities

Practice Quiz 4  (Part B)

Practice Quiz 4 (Part B)

9th - 12th Grade

30 Qs

Common plumbing processes

Common plumbing processes

12th Grade

36 Qs

Practice Quiz 2

Practice Quiz 2

12th Grade

30 Qs

CAM13- R4- P1- Blank

CAM13- R4- P1- Blank

5th Grade - Professional Development

35 Qs

Impact of IoT on Construction Sector activity

Impact of IoT on Construction Sector activity

12th Grade

33 Qs

Uniformed Protective Services Key Terms

Uniformed Protective Services Key Terms

12th Grade

40 Qs

BES Operatives and Pipework Classification Quiz

BES Operatives and Pipework Classification Quiz

12th Grade - University

30 Qs

Human Resources and Business Strategy Quiz

Human Resources and Business Strategy Quiz

9th - 12th Grade

33 Qs

Programming Logic Quiz

Programming Logic Quiz

Assessment

Quiz

Professional Development

12th Grade

Easy

Created by

MJM Grefaldo

Used 1+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

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

No change

x becomes 5

x becomes 7

x stays 6

2.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

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

score is reset to 50

result = "Fail"

result = "Pass"

Nothing changes

3.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

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

When count is 10

Whenever count is odd

It never resets

If count is greater than 10

4.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

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

discount = 0.1

discount = 0.2

discount remains 0

discount = 0.5

5.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

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

1, 3

1, 2, 3

None

2, 3, 4

6.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

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

userAge = 18

Always False

7.

MULTIPLE CHOICE QUESTION

10 sec • 5 pts

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

total 1000

total = 1000

Always

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?