Introduction to programming

Introduction to programming

11th Grade

14 Qs

quiz-placeholder

Similar activities

ICS Test #4 review

ICS Test #4 review

9th - 12th Grade

15 Qs

Code.org Unit 7

Code.org Unit 7

10th - 12th Grade

18 Qs

AP CSP Unit 7

AP CSP Unit 7

10th - 12th Grade

18 Qs

CodeHS Functions and Return Values

CodeHS Functions and Return Values

9th - 12th Grade

15 Qs

Grade 12-Python selection&iteration

Grade 12-Python selection&iteration

11th - 12th Grade

15 Qs

CODEHS Looping Unit 5 Review

CODEHS Looping Unit 5 Review

9th - 12th Grade

10 Qs

Code HS Python Unit 5 Test

Code HS Python Unit 5 Test

9th - 12th Grade

15 Qs

Python functions

Python functions

11th Grade

18 Qs

Introduction to programming

Introduction to programming

Assessment

Quiz

Computers

11th Grade

Hard

Created by

RASHA SHOWAIKH

Used 1+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

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?