Practice 24 questions on ITI1120 - Introduction to Computing I at uOttawa - University of Ottawa. Free AI-generated quiz on uNotes — track your score, retake anytime.
1Which of the following are comparison operators allowed in the specified algorithm format?
2In the context of the provided material, what does the variable 'P' represent in Question 1A?
3What is the purpose of the `fill_matrix` method in Question 2?
4In Question 1C, why does statement 'a' cause a compilation error?
5What does the `recMethod` in Question 3A compute for an array `x` and its length `n`?
6In Question 4, how is the size of the new array B determined for elements at even indices of array A (length N)?
7According to the example in Question 5, what is the product of the elements in the row {0, 5, 7, 3} if zeros are ignored?
8In Question 6, what is the initial state of the `returned` variable in a newly created `Loan` object?
9In Question 7, what condition allows the recursion to continue in the `funnyPal` method when `a[low]` is not equal to `a[high]`?
10According to the example in Question 1A, what is the condition for changing the store's pricing when the number of days to Christmas (C) is between 35 and 55 (inclusive)?