COMP177 Module 3 Quiz

Quiz
•
Computers
•
University
•
Medium
Karen Diggs
Used 15+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A computer processor stores numbers using a base of _____.
16
10
8
2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dictionaries are containers used to describe a(n) _____ relationship.
associative
one-to-one
recursive
isolated
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If text_line = 'one fish two fish', what is the value of text_line[6]?
' '
'h'
'i'
's'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements about my_list is false?
The element at index 1 is 'JFK'
The list has a length of 3
The list elements are all strings
The index of the last item in the list is 2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements produces an error? Assume string_1 = 'abc' and string_2 = '123'
string_2 = string_1
string_1 = string_2 + "456"
print(string_1 + string_2)
string_1[1] = 'B'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The variable emails_dict is assigned with a dictionary that associates student ids with email addresses. Which statement prints the email address associated with the student id "C2104"?
print(value of emails_dict("C2104"))
print(key of emails_dict("C2104"))
print(emails_dict["C2104"])
print(emails_dict["bob@someuni.edu"])
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the base 10 representation of the binary number: 00001001?
5
9
17
1001
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python Basics

Quiz
•
University
20 questions
Python Data Types Quiz

Quiz
•
10th Grade - University
21 questions
Basic Python Console Operations

Quiz
•
10th Grade - University
20 questions
PHP First Internal Practical Viva

Quiz
•
University
15 questions
QUIZ INFORMATIKA KELAS 9 BAB 3 - ANALISIS DATA

Quiz
•
University
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
15 questions
Python Programming

Quiz
•
5th Grade - University
16 questions
Python

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