Programming

Programming

9th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

Procedures and Functions

Procedures and Functions

10th Grade

20 Qs

การเขียนโปรแกรมภาษา python ม.5 ภาคเรียนที่ 2 ปีการศึกษา 2561

การเขียนโปรแกรมภาษา python ม.5 ภาคเรียนที่ 2 ปีการศึกษา 2561

10th - 12th Grade

20 Qs

Python

Python

11th Grade

20 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Python Variables and Subroutines

Python Variables and Subroutines

9th - 12th Grade

15 Qs

Programming Quiz 4

Programming Quiz 4

9th - 10th Grade

20 Qs

Python Test

Python Test

11th Grade

20 Qs

Javascript

Javascript

10th - 12th Grade

15 Qs

Programming

Programming

Assessment

Quiz

Computers

9th - 11th Grade

Hard

CCSS
6.EE.B.6

Standards-aligned

Created by

Louise Lockwood

Used 59+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To create a newline at the end of prompt, you can use which of the following expressions?
\new
\n
\break
\return

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used in python to assign values to a variable?
equals =
plus + 
forward slash /
asterisk *

Tags

CCSS.6.EE.B.6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an advantage of using local variables?

They allow the variable to be used throughout the whole program

They allow variable identifiers to be reused each time

They are easier to program than global variables

A wider range of data types can be used

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What term is used to describe data passed into/out of a program?

Variable

Loop

Constant

Parameter

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What term is used to describe data passed into/out of a program?

Variable

Loop

Constant

Parameter

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Leo wants to create a subroutine that will roll a dice. Which syntax is correct?

def dice roll ():

def diceroll ()

def diceroll ():

def diceroll []:

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the output be from the program shown here? (assuming that the user enters "John" and "Smith"

John

Smith

John Smith

Error

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?