
recap slid 64

Quiz
•
Information Technology (IT)
•
University
•
Hard
Kadry Hanafy Mahmoud Kadry
Used 10+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why would you use a tuple instead of a list in Python?
a) To store only unique elements
b) To maintain the order of elements
c) To prevent modification of elements
d) B & C
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about slicing in Python lists?
a) The end index is included in the slice
b) The end index is excluded in the slice.
c) Slicing cannot be done with a negative step.
d) Slicing can only be done on numerical values.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this output code check?
a) Checks if the string is sorted alphabetically
b) Checks if the string is composed of two identical repeated substrings
c) Checks if the string is palindrome
d) None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why does the code output ‘False’?
a) Sets don’t sort the element
b) Sets don’t remove duplicates
c) Sorting the list removes duplicates but sets don’t
d) Sorting the list doesn’t remove duplicates but sets do
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of that code?
a) [('John Wick', 'Action'), ('The Best Offer', 'Drama'), ('The Mask', 'Comedy'), ('Inception', 'Science fiction')]
b) [ 'Inception', 'John Wick', 'The Mask', 'The Best Offer']
c) ['The Mask', 'Inception', 'John Wick', 'The Best Offer']
d) ['John Wick', 'The Best Offer', 'The Mask', 'Inception']
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
the output of that code is
[[3, 0], [1, 5], [2, 4], [6, 3]]
True
Fals
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
the output of that code is
: [6, 5, 2, 3, 1]
True
Fals
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
the output of that code is
[2, 3, 3, 1, 1, 1]
True
Fals
Similar Resources on Wayground
10 questions
Ultrasonic Sensor - L1

Quiz
•
6th Grade - University
12 questions
Python-Quiz1

Quiz
•
University
10 questions
Embedded Sys - kelas 11

Quiz
•
11th Grade - University
5 questions
C# quiz

Quiz
•
12th Grade - University
10 questions
Operasi Input & Output C++

Quiz
•
University
10 questions
Round3Quiz

Quiz
•
University
10 questions
POSTEST INFORMATIKA

Quiz
•
9th Grade - University
10 questions
Quiz - Hardware & Software

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 Information Technology (IT)
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