
Data Analytics and Visualisation DAY - 2

Quiz
•
Computers
•
University
•
Medium
Microsoft LIET
Used 1+ times
FREE Resource
53 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 4 pts
Which of the following is NOT a valid data type in Python?
Integer
Float
Boolean
String (all uppercase)
Answer explanation
The string "string (all uppercase)" is not a valid data type in Python because Python's built-in string data type is case-sensitive and does not have a specific representation for strings written entirely in uppercase letters.
2.
MULTIPLE CHOICE QUESTION
10 sec • 4 pts
What operator is used for string concatenation in Python?
+
*
/
%
Answer explanation
The "+" operator is used for string concatenation in Python, allowing the combination of multiple strings into a single string.
3.
MULTIPLE CHOICE QUESTION
10 sec • 4 pts
What keyword is used to define a function in Python?
define
create
def
function
4.
MULTIPLE CHOICE QUESTION
10 sec • 4 pts
What does the print( ) function do in Python?
Stores Data in a variable
Displays output on the console
Reads data from a file
Performs calculations
5.
MULTIPLE CHOICE QUESTION
10 sec • 4 pts
How do you access the second element in a python list named data?
d a t a [ 1 ]
d a t a . a t ( 1 )
d a t a . g e t ( 2 )
d a t a ( i n d e x = 1 )
Answer explanation
You can access the second element in a Python list named "data" using indexing with square brackets like this: "data[1]". Python uses zero-based indexing, so the second element has an index of 1.
6.
MULTIPLE CHOICE QUESTION
10 sec • 4 pts
In Python, what is the term used to describe the process of executing code line by line?
Compilation
Execution
Iteration
7.
MULTIPLE CHOICE QUESTION
10 sec • 4 pts
The if statement allows you to execute code conditionally. The syntax includes an else statement. True or False?
False
Create a free account and access millions of resources
Similar Resources on Wayground
51 questions
UAS Etika Profesi Ilmu Komputer

Quiz
•
University
50 questions
Trivia Deal or No Deal 1

Quiz
•
University
57 questions
Quiz sobre Machine Learning y Procesamiento de Datos

Quiz
•
University
50 questions
INF-VII-1-2025

Quiz
•
9th Grade - University
50 questions
General Knowledge Quiz

Quiz
•
University
50 questions
ICT 1-50

Quiz
•
University
50 questions
First Quarter Exam in T.L.E. 7- ICT

Quiz
•
7th Grade - University
50 questions
BSIT1104 CP PL Exam

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University