Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

PCEP Prep - Week 0 (CFU)

Total questions: 8

Worksheet time: 4mins

Name
Class
Date
1.

What are the four fundamental elements that make a language?

a)

Alphabet, Lexi, Phonetics, Semantics

b)

Alphabet, Phonetics, Phonology, Semantics

c)

Alphabet, Lexis, Syntax, Semantics

d)

Alphabet, Morphology, Phonetics, Semantics

2.

What will be the output when this code is run:

a)

What's Up?!

b)

What

c)

Syntax Error

d)

"What's Up?!"

3.

What's the best definition of a script?

a)

An error message generated by the interpreter

b)

A text file which contains instructions that make up a Python Program

c)

An error message generated by the compiler

d)

A text file which contains sequences of 0's and 1's

4.

What do you call a command line interpreter which lets you interact with your OS and execute Python commands and scripts?

a)

A compiler

b)

An editor

c)

Jython

d)

A console

5.

What will be the output when this code is run?

a)

8

b)

6

c)

9

d)

4

6.

What will be the output when this code is run?

a)

0

b)

65

c)

2

d)

3

7.

What will be the output when this code is run?

a)

0

b)

False

c)

True

d)

5

8.

What will be the output when this code is run?

a)

Hello how are you today?

b)

Hellohowareyoutoday?

c)

Hello---how are you---today?

d)

"Hello---how are you---today?"