
CC104 - Midterm Exam (Week 9)

Quiz
•
Other
•
University
•
Medium
Jerome Escultura
Used 2+ times
FREE Resource
48 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is an algorithm?
A flowchart
A step-by-step procedure to solve a problem
A set of programming rules
A type of variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a property of an algorithm?
Finiteness
Definability
Input/output
Ambiguity
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An algorithm must always produce:
Infinite steps
An output
Multiple solutions
A program
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of an algorithm that has to check all elements in an array?
O(1)
O(log n)
O(n)
O(n^2)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Space complexity is concerned with:
The time it takes to run the program
The memory used by the program
The speed of execution
The number of variables
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does O(1) time complexity mean?
Constant time
Linear time
Exponential time
Quadratic time
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of asymptotic notation?
O(n)
n=100
log(n)
n^2+2n
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Parcial Nº3 - CI

Quiz
•
University
44 questions
Scientific Principles PPT 6 - Pressure, Force, Flow & SI Units

Quiz
•
12th Grade - University
49 questions
50 TO 100

Quiz
•
University
50 questions
Tema 3. La tutoría en Educación Primaria

Quiz
•
University
48 questions
Computer Science Exam Questions

Quiz
•
University
50 questions
1° Examen parcial - Electrónica II

Quiz
•
University
50 questions
GEAS 11

Quiz
•
University
45 questions
Годовой тест по Python

Quiz
•
4th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University