Programming

Programming

9th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

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

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

10th - 12th Grade

20 Qs

Subroutines

Subroutines

9th - 11th Grade

16 Qs

Python basics yr7

Python basics yr7

6th - 9th Grade

20 Qs

Python Quiz

Python Quiz

11th Grade

20 Qs

Python

Python

11th Grade

20 Qs

Subroutine

Subroutine

10th Grade

15 Qs

8525 GCSE CS 3.2.10 Structured programming and subroutines

8525 GCSE CS 3.2.10 Structured programming and subroutines

10th - 11th Grade

19 Qs

Python Basics ;)

Python Basics ;)

11th Grade

20 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?