NEW
Font size
WorksheetsАлгоритмизация и Программирование
Total questions: 51
Worksheet time: 26mins
What is an algorithm?
Random process
Sequence of actions to solve a problem
Computer program
Database
What property must an algorithm have?
Randomness
Uncertainty
Certainty
Infinity
Which of the following methods is correct for representing an algorithm?
Pseudocode
Only verbal description
Machine code
Syntax rules
What type of algorithm involves decision making?
Linear
Branching
Cyclic
Sequential
What is the purpose of debugging?
Creating new algorithms
Finding and fixing errors
Compiling code
Writing pseudocode
What data type is used to store decimal numbers in Python?
int
float
str
bool
What is the result of 3 + 2 * 2 in Python?
10
7
12
9
What keyword is used to define a function in Python?
func
function
define
def
In C++, which symbol is used for comments?
//
/*
*/
#
What does IDE stand for?
Integrated Development Environment
Integrated Debugging Environment
Internal Development Environment
Interface Development Environment
Which of the following is a valid loop in C++?
repeat
loop
while
during
Which of the following is a mutable data type in Python?
tuple
list
string
int
What does SQL stand for?
Structured Query Language
Simple Query Language
Sequential Query Language
Strong Query Language
What command is used to retrieve data from a database?
SELECT
GET
EXTRACT
FETCH
What is the size of int in C++ (usually)?
2 bytes
4 bytes
8 bytes
16 bytes
Which of these is a Python library for creating graphs?
NumPy
Pandas
Matplotlib
Seaborn
Which loop executes at least once regardless of the condition?
for
while
do-while
foreach
What operator is used to compare two values in Python?
=
==
=>
:=
Which statement correctly closes a file in Python?
file.close()
close(file)
file.shutdown()
shutdown(file)
What is the key feature of MongoDB?
Relational tables
Document storage
Compiled queries
Flat file database
What keyword creates a loop in Python?
loop
repeat
while
iterate
What is the return type of the input() function in Python?
int
str
float
bool
What is the standard file extension for a Python script?
.txt
.py
.java
.cpp
What keyword is used for branching in C++?
if
goto
continue
break
Which of the following is not a data type in Python?
list
dictionary
array
tuple
What is a one-dimensional array?
An array with multiple rows and columns
An array with a single row or column
A nested array
What data type is in Python?
list
dictionary
array
tuple
What is a one-dimensional array?
An array with multiple rows and columns
An array with a single row or column
A nested array
A linked array
Какой из этих операторов является условным оператором в Python?
<
+
*
&
What keyword is used to terminate a loop in Python?
stop
exit
break
end
What data type is used to store a single character in C++?
int
char
float
string
Какой из следующих является правильным списком Python?
{1, 2, 3}
(1, 2, 3)
[1, 2, 3]
<1, 2, 3>
What is the purpose of a flowchart?
Execute code
Visually describe the steps of an algorithm
Compile programs
Debug code
What is indentation in Python?
Code optimization
Visual alignment
Syntactic requirement
Optional formatting
What keyword is used to create a loop in C++?
for
foreach
loop
repeat
What function is used to get the length of a list in Python?
length()
count()
size()
len()
What is a tuple in Python?
Mutable sequence
Immutable sequence
Mutable dictionary
Immutable dictionary
Which database uses tables and rows?
MongoDB
Cassandra
MySQL
Neo4j
What operator is used for logical AND in Python?
&&
&
and
&&&
What function is used to read input from the user in Python?
input()
read()
get()
scanf()
What type of error is caused by incorrect syntax?
Runtime error
Syntactical error
Logical error
Compilation error
Which library is commonly used for data science in Python?
Flask
NumPy
Tkinter
Django
What type of file is used for permanent data storage?
Text file
Source code
Header file
Object file
Which of the following is not a loop structure?
for
while
if
do-while
Which of these types is a composite data type?
char
int
record
float
What is a record?
Type for functions
Group of related data elements
Python library
SQL command
What is Matplotlib used for?
Web development
Database management
Data visualization
Network interaction
What does CSV stand for?
Comma-Separated Values
Centralized Server Variable
Critical Simple Variable
Complex Separated Vector Variable
What keyword is used for exception handling in Python?
except
exception
handle
catch
Which of these is not a database?
MySQL
MongoDB
SQLite
Matplotlib
What keyword in C++ is used to define constants?
constant
const
define
static
