#7 Intro to programming/types of prog language

#7 Intro to programming/types of prog language

20 Qs

quiz-placeholder

Similar activities

Patterns of the Universe Vocabulary

Patterns of the Universe Vocabulary

5th Grade

18 Qs

Hound and Sporting Group Quiz

Hound and Sporting Group Quiz

9th - 12th Grade

20 Qs

BAHASA INGGRIS

BAHASA INGGRIS

KG - University

20 Qs

Suffix Test

Suffix Test

KG - University

16 Qs

Past Simple and Past Continuous quiz

Past Simple and Past Continuous quiz

KG - University

20 Qs

Ancient Egypt Unit Test

Ancient Egypt Unit Test

KG - University

20 Qs

Geocentric, Heliocentric & Ancient Astronomers

Geocentric, Heliocentric & Ancient Astronomers

6th Grade

15 Qs

#7 Intro to programming/types of prog language

#7 Intro to programming/types of prog language

Assessment

Quiz

others

Hard

Created by

Jan Corboy

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which of these does not apply to the 'Sequence' programming construct?
A. All instructions are executed
B. Instructions are executed in their given order
C. Program execution starts at the beginning and finishes at the end of the list of instructions
D. Certain blocks of code may be bypassed

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. Which of the following is used to repeatedly execute a block of code?
A. Sequence
B. Iteration
C. Selection
D. Subroutine

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. A switch/case statement is an example of:
A. Iteration
B. Sequence
C. Subroutine
D. Selection

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. What is a variable?
A. A part of a program that can be changed
B. A named location in the computer's memory that stores a value permanently, not allowing it to be changed during execution
C. A named location in the computer's memory that stores a value and that value can change during execution
D. A built-in value in a computer program that can be used when needed

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. What is the main difference between a constant and a variable?
A. The value stored in a constant cannot be changed during program execution
B. The value stored in a variable cannot be changed during program execution
C. Only variables can be created by the programmer
D. Only constants can be created by the programmer

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Do the precedence rules apply when constructing arithmetic expressions in programming?
A. Yes
B. No, there are different rules in programming
C. No, there are no agreed precedence rules in programming
D. No, they are not necessary when programming

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Why will the following expression fail to calculate the mean of the integer values A, B and C? A+B+C/3
A. The wrong division symbol is being used
B. The precedence rules are not being applied correctly
C. The numbers should be multiplied, not added
D. There are too many numbers

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?