DS212_MT

DS212_MT

University

48 Qs

quiz-placeholder

Similar activities

Data structure

Data structure

University

50 Qs

Data Structure and Algorithm

Data Structure and Algorithm

University

43 Qs

ADS Quiz 6

ADS Quiz 6

University

50 Qs

FINAL TEST FOR JAVA PROGRAMMING 2

FINAL TEST FOR JAVA PROGRAMMING 2

University

50 Qs

CSE214 Final Review

CSE214 Final Review

University

44 Qs

Data Structures -Quiz- I B.Sc. AI & ML

Data Structures -Quiz- I B.Sc. AI & ML

University

50 Qs

CS8391 - Data Structure  - IAT I

CS8391 - Data Structure - IAT I

University

50 Qs

CS8391 - DS - IAT2

CS8391 - DS - IAT2

University

50 Qs

DS212_MT

DS212_MT

Assessment

Quiz

Computers

University

Medium

Created by

Bill Arbaoui

Used 26+ times

FREE Resource

48 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array similar to in Python?
Dictionary
Tuple
Set
List

2.

MULTIPLE CHOICE QUESTION

30 sec • 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

30 sec • 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

30 sec • 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

30 sec • 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

30 sec • 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

30 sec • 1 pt

Which operation in Python counts the occurrences of a character in an array?
Index
Extend
Add
Count

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?