Basic elements of computer programming

Basic elements of computer programming

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

SC025: Control Structures Lecture Quiz

SC025: Control Structures Lecture Quiz

12th Grade

10 Qs

Computer Science

Computer Science

3rd - 12th Grade

12 Qs

CTE Information Technology Quiz

CTE Information Technology Quiz

7th - 9th Grade

13 Qs

Scratch Pre-Assessment

Scratch Pre-Assessment

5th - 9th Grade

20 Qs

Loops and trace tables

Loops and trace tables

11th Grade

13 Qs

Python Iteration

Python Iteration

10th Grade

17 Qs

AP CSP Loops Practice

AP CSP Loops Practice

9th - 12th Grade

12 Qs

Python - Flow control

Python - Flow control

11th Grade

10 Qs

Basic elements of computer programming

Basic elements of computer programming

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Dexter Wamar

Used 63+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Of the elements of programming, which are always used by every program?

Input and Output

Input and looping

Control and arithmetic

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A high score in a video game may change over time. Where is this value stored for the program to work with?

Variable

Loop

Conditional

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why are conditional statements important?

They monitor the input

The control a program loop by stopping it at a specified predetermined event.

The deliver the output

They receive data from the computer calculation

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a loop?

Data that changes over time

Controlled calculations

Putting information into the computer and generating an output display

Cycling through a set of instructions until a condition is met

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is output from a program characterized?

Saving data in a file

Entering information into a program

The end result of the program

The processing of data

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you wanted to assign a value to a variable, which operator would you use?

==

=

=!

equals

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does a loop know when to stop?

It stops when it reaches the last line of the program

When a predetermined condition is met

It stops after the first trial run

After 100 runs

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?