Basic elements of computer programming

Basic elements of computer programming

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Python Programming: Functions and Procedures

Python Programming: Functions and Procedures

9th - 11th Grade

12 Qs

Iteration Recap

Iteration Recap

8th - 9th Grade

16 Qs

AQA GCSE Computer Science - 3.1.1 Representing algorithms

AQA GCSE Computer Science - 3.1.1 Representing algorithms

8th - 10th Grade

19 Qs

Java Loops

Java Loops

9th - 12th Grade

12 Qs

FOR Loops Python

FOR Loops Python

9th - 12th Grade

12 Qs

CS J277 Unit 7 Programming

CS J277 Unit 7 Programming

11th Grade

20 Qs

Computer Science

Computer Science

9th - 12th Grade

20 Qs

Python Loops

Python Loops

9th - 11th Grade

12 Qs

Basic elements of computer programming

Basic elements of computer programming

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Dexter Wamar

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