WorksheetsPAPASA BA?!
Total questions: 25
Worksheet time: 14mins
Which of the following is a keyword?
but
else
new
loop
else
What are the three main programming structures?
Sequence, selection, iteration
Structured, object-oriented, procedural
Java, Python, Visual Basic
Machine, assembly, high-level
2 Check to see if the number ends in 0, 2, 4, 6 or 8?
2a If yes, write "The number is even."
2b If no, write "The number is odd." This is an example of which type of control structure?
What will be the output?
name = "Dave"
print (name)
Dave
'Dave'
name
(name)
Python language was developed in what year?
1985
2001
1991
1820
Is python an interpreter or compiler programming language?
Compiler
Interpreter
What result will display in the shell if 15 and 20 is entered by the user?
"num1 + num2"
1520
35
Which one will display when this code is run?
What kind of programming language is Python?
High Level & Object Orientated
Low Level & Object Orientated
Low Level & Procedural
All of the above
Python can be used for developing
compilers
device drivers
Application Programs
None of the above
Which of the following is not feature of Python
Supports GUI Programming
Integrates with other programming languages
Difficult to learn
Rich with Standard libraries
Python is Easy to learn because
Simple Structure
Few Keywords
clearly defined syntax
All of the above
Python program can interact with
relational databases
non relational databases
commercial databases
All of the above
