Computer Programming Quiz

Computer Programming Quiz

10th Grade

14 Qs

quiz-placeholder

Similar activities

Java Data Structures

Java Data Structures

6th - 10th Grade

15 Qs

Java Basic Data Structures

Java Basic Data Structures

6th - 10th Grade

15 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

String manipulation

String manipulation

10th Grade

16 Qs

2D Arrays

2D Arrays

9th - 12th Grade

15 Qs

String Methods

String Methods

9th - 12th Grade

10 Qs

Python - Variables and Input

Python - Variables and Input

1st - 10th Grade

16 Qs

Variables and Data Types Knowledge Check

Variables and Data Types Knowledge Check

9th - 12th Grade

16 Qs

Computer Programming Quiz

Computer Programming Quiz

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Andrew Dawson

Used 15+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

A problem in programming

A set of instructions in programming used to solve a given problem

A type of computer hardware

A programming language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is pseudo code?

A high-level programming language

A type of error in code

A notation resembling a simplified programming language used in designing computer programs

The output of a program

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a selection statement?

for i . . . next i

if . . . else . . . end if

repeat . . . until

output "Please enter a number:"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of indentation in pseudo code?

To declare variable names

To define a data type

To make the structure of the code clearer

To assign a value to a variable

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for a repetition construct in pseudo code?

if . . . else . . . end if

set counter = 0

for i . . . next i

myvariable is integer

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a rogue value in the context of loops?

A value that starts the loop

A value that increments within the loop

A value that falls outside the range of possible values for the data being processed

A value that is used to define a data type

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following pseudo code if the input age is 11?

Secondary school

Primary School

No output

An error message

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?