stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Misha PIDOR Flashcards | StudBud
Explore
/
Misha PIDOR
Misha PIDOR
52 terms
·
StudBud Administration
·
18 plays
Imported from external platform
Flashcards
52 cards
F
Practice quiz
P
Host live
L
Questions
52
Answers
1
Which of the following is a mutable data type in Python?
tuple
string
list
int
2
Which keyword is used for branching in C++?
Mishhhhaaaaa
if
continue
goto
3
Which property must an algorithm have?
andomness
Ambiguity
Definiteness
Infinity
4
Which function is used to get the length of a list in Python?
size()
len()
length()
·count()
5
Which of the following is a correct way to represent an algorithm
Pseudocode
Verbal description only
Machine code
Syntax rules
6
What is a record?
A type for functions
A Python library
A SQL command
A group of related data items
7
What does SQL stand for?
Simple Query Language
Strong Query Language
Sequential Query Language
Structured Query Language
8
Which statement correctly closes a file in Python?
file.close()
shutdown(file)
file.shutdown()
close(file)
9
Which keyword is used to create a loop in C++?
repeat
for
foreach
loop
10
Which library is commonly used for data science in Python?
Tkinter
Django
Flask
NumPy
11
What is the default value of an uninitialized int variable in C++?
0
1
null
Undefined behavior
12
What is a one-dimensional array?
·Array with multiple rows and columns
Array with a single row or column
Linked array
Nested array
13
. Which of the following is a correct Python list?
<1, 2, 3>
{1, 2, 3}
(1, 2, 3)
[1, 2, 3]
14
Which of the following correctly declares a constant in C++?
define const x;
int const x;
const int x = 5;
int constant x;
15
What is indentation in Python?
Visual alignment
Code optimization
Syntax requirement
Optional formatting
16
Which database uses tables and rows?
MongoDB
Cassandra
Neo4j
MySQL
17
What is Matplotlib used for?
Database management
Web development
Data visualization
Networking
18
Which keyword is used to terminate a loop in Python?
stop
exit
end
braek
19
Which type of file is used to permanently store data?
Source code
Header file
Text file
Object misha
20
What is a key feature of MongoDB?
Compiled queries
·Relational tables
Document-based storage
Flat file database
21
What does CSV stand for?
Critical Simple Variable
Comma Separated Values
Centralized Server Variable
Centralized Server Variable
22
Which data type is used to store decimal numbers in Python?
bool
·int
str
float
23
Which type of error is caused by incorrect syntax?
Runtime error
Logical error
Syntax error
Compilation error
24
In C++, which symbol is used for comments?
*/
/*
//
#
25
What is the purpose of a flowchart?
To execute code
To describe algorithm steps visually
To debug code
To compile programs
26
Which of the following is NOT a looping structure?
if
while
for
do while
27
Which file extension is standard for a Python script?
.py
.txt
.cpp
.java
28
1. What is an algorithm?
A database
A random process
A computer program
A sequence of actions to solve a problem
29
Which of these is NOT a database?
SQLite
MongoDB
Matplotlib
·MySQL
30
What is a tuple in Python
Mutable dictionary
Mutable sequence
·Immutable dictionary
Immutable sequence
31
Which operator is used for logical AND in Python?
&&&
&&
and
&
32
Which loop executes at least once regardless of the condition?
for
while
do-while
foreach
33
Орыс пидор?
True
False
34
Which one is a Python library for creating graphs?
Seaborn
Matplotlib
NumPy
Pandas
35
What is the size of an int in C++ (typically)?
4 bytes
16 bytes
8 bytes
2 bytes
36
Which of these is a conditional operator in Python?
<
>
+
,
37
What is the output type of the input() function in Python?
bool
int
str
float
38
Which C++ keyword is used for defining constants?
constant
static
const
define
39
Which data type is used to store a single character in C++?
float
int
string
char
40
. Which keyword is used to define a function in Python?
func
def
define
function
41
Which keyword creates a loop in Python?
iterate
repeat
loop
while
42
Which of the following is a valid loop in C++?
repeat
loop
while
during
43
What does IDE stand for
Interface Development Environment
Internal Development Execution
Integrated Debugging Environment
Integrated Development Environment
44
What is the purpose of debugging?
Writing pseudocode
Finding and fixing errors
Creating new algorithms
·Compiling code
45
Which command is used to retrieve data from a database?
EXTRACT
FETCH
GET
SELECT
46
Which keyword is used for exception handling in Python?
catch
handle
except
exception
47
Which function is used to read input from the user in Python?
get()
read()
input()
scanf()
48
Which operator is used to compare two values in Python?
==
=>
:=
=
49
What is the output of 3 + 2 * 2 in Python
9
7
12
10
50
4. Which type of algorithm involves decision making?
Cyclic
Branching
·Linear
Sequential
51
Which of these is a composite data type?
record
float
int
char
52
Which of the following is NOT a Python data type?
distonary
list
tuple
array