Computer Programming Quiz

Computer Programming Quiz

10th Grade

14 Qs

quiz-placeholder

Similar activities

Python Ch. 1 & 2

Python Ch. 1 & 2

9th - 12th Grade

10 Qs

3G_stringhe

3G_stringhe

10th Grade

13 Qs

Python

Python

5th - 10th Grade

10 Qs

Data Structures

Data Structures

9th - 12th Grade

10 Qs

Python Review

Python Review

9th - 12th Grade

16 Qs

Chapter 3 Review

Chapter 3 Review

9th - 12th Grade

15 Qs

45. Programming 1 : Data Types and Casting

45. Programming 1 : Data Types and Casting

9th - 12th Grade

11 Qs

String Manipulation 2

String Manipulation 2

10th Grade

17 Qs

Computer Programming Quiz

Computer Programming Quiz

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Andrew Dawson

Used 16+ 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?