
Introduction to programming

Quiz
•
Computers
•
11th Grade
•
Hard
RASHA SHOWAIKH
Used 1+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of line 5 when the code is executed if the user enters 1 for num1 and 7 for num2?
num1 + num2
num1num7
8
17
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the option that can only be an example of the string data type.
Five
5.1
5
True
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Read the description of each variable in the table below and enter the name of one variable that would be best implemented as a variable with the data type string.
years_of_age
telephone
number
date_of_birth
temperature
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of PRINT when this program is executed?
There is an error in the program
player_name
BlueSky93
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of PRINT when this program is executed?
BlueSky93, DinoFish40
player_name
BlueSky93
DinoFish40
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Read the description of each identifier in the table below and enter the name of the identifier that should be declared as a variable instead of a constant.
TAX
GRAVITY
SCORE
MIN_LENGTH
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A banking system uses a constant to store the current rate of VAT so that it can be used in calculations.
Which of the following statements relating to constants is true?
A constant is the same as a variable.
The value of a constant can only change while the program is running.
You cannot change the value of a constant in the program source code.
A constant stores a value that does not change during the execution of the program.
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Unit 5 Lists, Loops, & Traversals

Quiz
•
10th - 12th Grade
18 questions
SST Yr8 - NCCE - Algorithms 2

Quiz
•
9th - 12th Grade
11 questions
Java Boolean Statements

Quiz
•
11th Grade
19 questions
Parameters and Return Review

Quiz
•
9th - 12th Grade
15 questions
Iteration

Quiz
•
9th - 12th Grade
12 questions
IDT UNIT 3

Quiz
•
9th - 12th Grade
14 questions
Java Math and String Libraries

Quiz
•
9th - 12th Grade
9 questions
Checkpoint 1 revision

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade