Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

47. Programming 1 : User Input & Display Output

Total questions: 1

Worksheet time: 6mins

Name
Class
Date
1-8.
1.

What is the first thing you learn when starting to program?

a)

How to debug errors

b)

How to gather input from the user

c)

How to write loops

d)

How to create functions

2.

In the pseudocode example, what is used to display a prompt on the screen?

a)

Show

b)

Output

c)

Print

d)

Display

3.

What symbol is used in the pseudocode to assign input to a variable?

a)

<-

b)

=

c)

->

d)

<<

4.

Which of the following is NOT a programming language mentioned for exam support?

a)

Visual Basic

b)

Java

c)

C#

d)

Python

5.

How is input gathered from the user in Python?

a)

getInput() function

b)

input() function

c)

readLine() method

d)

scanf() function

6.

What is concatenated to the 'first name' and 'surname' variables to output the user's full name?

a)

A blank space

b)

A dash

c)

A period

d)

A comma

7.

What data type is assumed for variable 'a' when performing the division 7 divided by 3?

a)

Real or Float

b)

Boolean

c)

String

d)

Integer

8.

What is the purpose of format specifiers in the context of output?

a)

To convert strings to integers

b)

To insert special characters

c)

To change the font size

d)

To format the output to a certain number of decimal places