100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

CMPT 125 Introduction to Computing Science & Programming II – Regular Quiz 3 Complete Questions & Answers (2026/2027)

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
10-01-2026
Written in
2025/2026

This document contains complete and verified questions & answers for Regular Quiz 3 – CMPT 125: Introduction to Computing Science and Programming II, fully aligned with course learning objectives, programming concepts, and university-level computing science curriculum standards. Updated for 2026/2027, it covers commonly tested topics such as data structures, algorithms, programming logic, functions, loops, arrays, problem-solving techniques, and exam-style quiz questions. Ideal for quiz preparation, revision, practice testing, and academic success in CMPT 125 or equivalent programming courses.

Show more Read less
Institution
Computer Information Systems
Course
Computer information systems









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Computer information systems
Course
Computer information systems

Document information

Uploaded on
January 10, 2026
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

@2027// Q&A | 100% Verified Start your exams prepared! solutions.
RegularQuiz3: CMPT125 D100 Introduction to Computing Science and Programming II 2024-04-22, 2:14 PM




RegularQuiz3
Due Mar 7 at 6pm Points 15 Questions 6
Available until Apr 20 at 6pm Time Limit 20 Minutes


Instructions
This quiz is open book and open web.

You may not collaborate with other students in the class.

You may not use online services, bots, or AI

You should reference any material copied

You will have 20 minutes to complete your quiz. The quiz will be available from 5 PM Mar 6 to 6 PM
Mar 7. You must complete (not start) your quiz by 6PM Mar 1.


This quiz was locked Apr 20 at 6pm.



Attempt History
Attempt Time Score
LATEST Attempt 1 16 minutes 4 out of 15 *

* Some questions not yet graded




 Correct answers are hidden.

Score for this quiz: 4 out of 15 *
Submitted Mar 13 at 10:35pm
This attempt took 16 minutes.


Question 1 Not yet graded / 3 pts


https://canvas.sfu.ca/courses/81421/quizzes/262140?module_item_id=3136011 Page 1 of 7
This study source was downloaded by 1827175 from cliffsnotes.com on 01-08-2026 19:56:20 GMT -06:00

1 09/01/2026
https://www.cliffsnotes.com//study-notes/23658231

, @2027// Q&A | 100% Verified Start your exams prepared! solutions.
RegularQuiz3: CMPT125 D100 Introduction to Computing Science and Programming II 2024-04-22, 2:14 PM




Write an expression for T(N) and for T(1) for the following code. DO
NOT solve for the Big 0.

int binarySearch(int arr[], int left, int right, int target) {
if (right >= left) {
int mid = left + (right - left) / 2;
if (arr[mid] == target)
return mid;
if (arr[mid] > target)
return binarySearch(arr, left, mid - 1, target);
return binarySearch(arr, mid + 1, right, target);
}
return -1;
}




Your Answer:

T(N) = T(N/2) + c

T(1) = c




Incorrect Question 2 pts




https://canvas.sfu.ca/courses/81421/quizzes/262140?module_item_id=3136011 Page 2 of 7
This study source was downloaded by 1827175 from cliffsnotes.com on 01-08-2026 19:56:20 GMT -06:00

2 09/01/2026
https://www.cliffsnotes.com//study-notes/23658231

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
allowaysbest stuvia
View profile
Follow You need to be logged in order to follow users or courses
Sold
1902
Member since
5 months
Number of followers
0
Documents
550
Last sold
1 day ago

4.7

535 reviews

5
404
4
119
3
8
2
4
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions