Font size
WorksheetsExamination (Midterm) in Open-Source Programming Language
Total questions: 48
Worksheet time: 25mins
Popular programming language. It was created by Guido van Rossum, and released in 1991.
Java
C++
Python
C#
Python can be used on a server to create web applications.
TRUE
FALSE
Python can be used alongside software to create workflows.
True
False
Python can connect to database systems. It can also read and modify files.
TRUE
FALSE
Python can be used only to handle small data and perform simple mathematics.
TRUE
FALSE
Python can be used for rapid prototyping, or for production-ready software development.
TRUE
FALSE
Refers to the spaces at the beginning of a code line.
Indention
semi-colon
colon
hash
Python use what when commenting something.
//
#
/**/
\*
Created the moment you first assign a value to it.
Constant
Variable
Dynamic
Multiround
All are numeric types except one.
int
float
string
complex
Constructs an integer number from an integer literal, a float literal (by removing all decimals), or a string literal (providing the string represents a whole number)
int()
float()
str()
complex()
Constructs a float number from an integer literal, a float literal or a string literal (providing the string represents a float or an integer)
int()
float()
str()
complex()
Constructs a string from a wide variety of data types, including strings, integer literals and float literals
int()
float()
str()
complex()
Booleans represent one of two values: Choose 2
TRUE
FALSE
MAYBE
ALL
A collection which is ordered and changeable. Allows duplicate members.
List
Tuple
Sets
Dictionary
A collection which is ordered and unchangeable. Allows duplicate members.
List
Tuple
Sets
Dictionary
A collection which is unordered, unchangeable*, and unindexed. No duplicate members.
List
Tuple
Sets
Dictionary
A collection which is ordered** and changeable. No duplicate members.
List
Tuple
Sets
Dictionary
Python has two primitive loop commands what are they? Choose 2
While
For
if
elif
Requires relevant variables to be ready, in this example we need to define an indexing variable, i, which we set to 1.
While
For
if
elif
Used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or a string).
While
For
if
elif
A block of code which only runs when it is called.
Function
Structure
Foundation
Calling
In Python, surrounded by either single quotation marks, or double quotation marks.
Char
String
Byte
Bit
Requires relevant variables to be ready, in this example we need to define an indexing variable, i, which we set to 1.
While
For
if
elif
Used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or a string).
While
For
if
elif
A block of code which only runs when it is called.
Function
Structure
Foundation
Calling
In Python, surrounded by either single quotation marks, or double quotation marks.
Char
String
Byte
Bit
Python can be used only to handle big data and perform complex mathematics.
TRUE
FALSE
Python can be used for rapid prototyping, or for production-ready software development.
TRUE
FALSE
Refers to the spaces at the beginning of a code line.
Indention
semi-colon
colon
hash
Python use what when commenting something.
//
#
/**/
\*
Created the moment you first assign a value to it.
Constant
Variable
Dynamic
Multiround
All are numeric types except one.
int
float
string
complex
Constructs an integer number from an integer literal, a float literal (by removing all decimals), or a string literal (providing the string represents a whole number)
int()
float()
str()
complex()
Constructs a float number from an integer literal, a float literal or a string literal (providing the string represents a float or an integer)
int()
float()
str()
complex()
Constructs a string from a wide variety of data types, including strings, integer literals and float literals
int()
float()
str()
complex()
Python can be used on a server to create web applications.
TRUE
FALSE
Python can be used alongside software to create workflows.
TRUE
FALSE
Python can connect to database systems. It can also read and modify files.
TRUE
FALSE
Python can be used to handle big data and perform complex mathematics.
TRUE
FALSE
Python can be used for slow prototyping, or for production-ready software development.
TRUE
FALSE
Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
TRUE
FALSE
Python has a complex syntax similar to the French language.
TRUE
FALSE
Python has syntax that allows developers to write programs with fewer lines than some other programming languages.
TRUE
FALSE
Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick.
TRUE
FALSE
Python can be treated in a procedural way, an object-oriented way or a functional way.
TRUE
FALSE
Requires relevant variables to be ready, in this example we need to define an indexing variable, i, which we set to 1.
While
For
if
elif
Used for iterating over a sequence (that is either a list, a tuple, a dictionary, a set, or a string).
While
For
if
elif
