Programming

Programming

10th Grade

15 Qs

quiz-placeholder

Similar activities

Excel Formulas/Functions

Excel Formulas/Functions

9th - 12th Grade

20 Qs

COMPUTER SCIENCE 0478

COMPUTER SCIENCE 0478

10th - 11th Grade

12 Qs

Pseudocode and Flowcharts - Computer Science

Pseudocode and Flowcharts - Computer Science

KG - 12th Grade

15 Qs

Artificial Intelligence

Artificial Intelligence

10th Grade

15 Qs

Calculating Discounts and Tips

Calculating Discounts and Tips

9th - 12th Grade

11 Qs

CP M.8.1-8.5 Quiz Review

CP M.8.1-8.5 Quiz Review

9th - 12th Grade

15 Qs

artificial intelligence

artificial intelligence

10th Grade

20 Qs

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

Programming

Programming

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Olayi Lasisi

Used 21+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is iteration?

A process wherein a set of instructions or structures are repeated once.

A process wherein a set of instructions or structures are not repeated in a sequence a specified number of times or until a condition is met

A process wherein a set of instructions or structures are repeated in a sequence a specified number of times or until a condition is met.

A process wherein a set of instructions or structures are repeated in a sequence a random number of times or until a condition is met

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An If Statement is used in?

Iteration

Selection

Sequence

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What value does a String return?

1.29

H

8

Ten

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What value will a float return?

True

14

seven

2.92

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What value will Boolean return?

14

Fish and chips

T

True

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code output if four different students scored: 60, 57,61,79?


IF average ≥ 80 THEN​

OUTPUT “Distinction”​

ELSE IF average ≥ 60 THEN​

OUTPUT ”Merit”​

ELSE IF average ≥ 40 THEN​

OUTPUT “Pass”​

ELSE​

OUTPUT “Fail”​

ENDIF​

Merit, Merit, Merit Merit

Pass, Merit, Merit Pass

Merit, Pass, Merit, Merit

Merit, Pass, Merit, Distinction

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

According to the code below. What is the price for an adult on Saturday? ​


IF member = “child” THEN​

IF day = “Saturday” THEN​

swimPrice  2.00​

ELSE​

swimPrice  2.50​

ENDIF​

ELSE ​

swimPrice  4.00​

ENDIF ​

2.50

2.00

6.00

4.00

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?