Programming Logic Quiz

Programming Logic Quiz

Professional Development

33 Qs

quiz-placeholder

Similar activities

NA SDS Assessment

NA SDS Assessment

KG - 1st Grade

33 Qs

Q3 Samsung Mock Certification - Set 1

Q3 Samsung Mock Certification - Set 1

Professional Development

32 Qs

Applying Mechanics of Style  Keywords

Applying Mechanics of Style Keywords

University

36 Qs

Study Comrade | Web Development

Study Comrade | Web Development

University

30 Qs

Final Quiz 2020

Final Quiz 2020

Professional Development

32 Qs

WAE Mock TCSNQT Quiz-21-Oct

WAE Mock TCSNQT Quiz-21-Oct

Professional Development

30 Qs

7 Habits of Highly Effective Teens

7 Habits of Highly Effective Teens

11th - 12th Grade

28 Qs

Python Basics v1.0 ( Medvedev School )

Python Basics v1.0 ( Medvedev School )

1st Grade

30 Qs

Programming Logic Quiz

Programming Logic Quiz

Assessment

Quiz

Professional Development

Professional Development

Easy

Created by

MJM Grefaldo

Used 2+ times

FREE Resource

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

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?