
Python and data processing test
Authored by Tibor Tajti
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of the following expression multiplying an integer with a float?
5*1.5
5
10
7.5
7
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of the expression?
5*1.0
5
5.0
An error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of the next expression?
"V"+1
The value of the variable V plus 1
"V1"
An error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of the expression?
3*[1, 2, 3]
[3, 6, 9]
[ [1, 2, 3], [1, 2, 3], [1, 2, 3] ]
[1, 2, 3, 1, 2, 3, 1, 2, 3, ]
An error
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Assume that we have a list variable:lst=[1,2,3,4]
How can we add the value 5 to the end of the list?
lst.add(5)
lst.append(5)
5.add(lst)
5.append(lst)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The v[4]='c' statement can work if the type of the v variable is:
string
list
tuple
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will write the following code to the output?
for i in range(1,10):
print(i*i)
1
4
9
16
25
36
49
64
81
1
4
9
16
25
36
49
64
81
100
Nothing
An error
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
13 questions
L1 - Computer Networks
Quiz
•
University
15 questions
DBC CHAPTER 3 - REVISION
Quiz
•
University
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
20 questions
Information Management - QUIZ
Quiz
•
University
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
18 questions
Lenguaje de Definición de Datos
Quiz
•
University
15 questions
Firewall and Network Security
Quiz
•
University
18 questions
PBO Inheritance Episode 2
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade