
MT2024_212ict_sec132
Authored by Bill Arbaoui
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
55 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is an array similar to in Python?
Dictionary
Tuple
Set
List
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How is the size of a typical signed integer array element represented?
2 bytes
4 bytes
6 bytes
8 bytes
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In which programming language is the following array definition valid: int[] numbers = new int[5];?
Python
C
Java
JavaScript
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following operations on an array in Python removes and returns the character at a given position?
Add
Extend
Insert
Pop
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What do you use to convert a character array back to a string in Python?
split() method
str() method
join() method
convert() method
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What's the byte size of a typical floating point array element?
2 bytes
4 bytes
6 bytes
8 bytes
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which operation in Python counts the occurrences of a character in an array?
Index
Extend
Add
Count
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?