#7 Intro to programming/types of prog language

#7 Intro to programming/types of prog language

20 Qs

quiz-placeholder

Similar activities

Lesson 1 Summative Assessment

Lesson 1 Summative Assessment

KG - University

16 Qs

SOAL BAB OPEN LOOP DAN CLOSE LOOP

SOAL BAB OPEN LOOP DAN CLOSE LOOP

12th Grade

25 Qs

Module 4 Science Test Review

Module 4 Science Test Review

3rd Grade

20 Qs

Biology & Cells Exam Review

Biology & Cells Exam Review

8th Grade

15 Qs

6th Grade Chapter 8&9 Test

6th Grade Chapter 8&9 Test

KG - University

20 Qs

Part 1: Chapters 1-9 Quiz

Part 1: Chapters 1-9 Quiz

KG - University

20 Qs

24.25  Personal Finance Final Exam Review

24.25 Personal Finance Final Exam Review

9th Grade

20 Qs

#7 Intro to programming/types of prog language

#7 Intro to programming/types of prog language

Assessment

Quiz

others

Medium

Created by

Claire Buckler

Used 2+ times

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?