ICS 6D Gassko Final Exam
.pdf
keyboard_arrow_up
School
University of California, Irvine *
*We aren’t endorsed by this school
Course
6D
Subject
Computer Science
Date
May 7, 2024
Type
Pages
10
Uploaded by ChancellorKuduPerson1110
ICS 6D Gassko Final Exam
TOTAL POINTS
57 / 71
QUESTION 1
1 Question 1 (a-b) 0 / 4
- 0 pts Correct
✓
- 2 pts for a), answer is incorrect.
✓
- 2 pts for b), answer is incorrect.
QUESTION 2
2 Question 1 (c-e) 0 / 6
- 0 pts Correct
✓
- 2 pts for c), answer is incorrect.
✓
- 2 pts for d), answer is incorrect.
✓
- 2 pts for e), answer is incorrect.
QUESTION 3
3 Question 2 2 / 4
- 0 pts Correct
- 2 pts for the first question, the answer is incorrect.
✓
- 2 pts for the second question, the answer is
incorrect.
QUESTION 4
4 Question 3 3 / 3
✓
- 0 pts Correct
- 1 pts for the first blank, the answer is wrong.
- 1 pts for the second blank, the answer is wrong.
- 1 pts for the third blank, the answer is wrong.
- 0.5 pts half points for the first blank
QUESTION 5
5 Question 4 3 / 4
- 0 pts Correct
✓
- 1 pts for a), the answer is wrong
- 1 pts for b), the answer is wrong
- 1 pts for c), the answer is wrong
- 1 pts for d), the answer is wrong
QUESTION 6
6 Question 5 6 / 6
✓
- 0 pts Correct
- 1 pts In c), approach is correct, but there is
calculation mistakes which leads to incorrect results.
- 1 pts In d), approach is correct, but there is
calculation mistakes which leads to incorrect results.
- 2 pts In c), both approach and result is not correct.
- 2 pts In d), both approach and result is not correct.
- 1 pts In b), answer is not correct.
- 1 pts In a), answer is not correct.
QUESTION 7
7 Question 6 4 / 4
✓
- 0 pts Correct
- 1 pts a) is incorrect.
- 1 pts b) is incorrect.
- 1 pts c) is not correct.
- 1 pts d) is incorrect.
- 0.5 pts c): should simplify it.
- 0.5 pts d): should simplify it.
- 0.5 pts d): Should not include primes with zero
exponents.
- 0.5 pts a): Should not contain zero exponents.
QUESTION 8
8 Question 7 3 / 3
✓
- 0 pts Correct
- 1 pts a) is not correct.
- 1 pts b) is not correct.
- 1 pts c) is not correct.
- 0.5 pts a): approach is correct though calculation
result is not correct.
- 0.5 pts b): approach is correct though calculation
result is not correct.
- 0.5 pts c): approach is correct though calculation
result is not correct.
QUESTION 9
9 Question 8 2 / 2
✓
- 0 pts Graded by Preston
- 0 pts Correct
- 0.5 pts Algebra Error
- 1 pts Minor conceptual error
- 2 pts Completely incorrect
QUESTION 10
10 Question 9 (a) 2 / 2
✓
- 0 pts Graded by Casey
- 1 pts N Incorrect
- 1 pts Phi Incorrect
QUESTION 11
11 Question 9 (b) 4.5 / 5
✓
- 0 pts Graded by Preston
- 0.5 pts Algebra Error/Minor error in EA
- 1 pts EA completely incorrect
- 0.5 pts One Equation Wrong
- 1 pts Both equations Wrong
- 1 pts Process Incorrect for 3
✓
- 0.5 pts algebra error in 3
- 2 pts Process and Answers Incorrect for 3
- 0.5 pts Choose wrong coefficient for 4
- 1 pts Completely Incorrect for 4
QUESTION 12
12 Question 9 (c) 5 / 5
✓
- 0 pts Graded by Casey
- 1 pts Binary Representation Incorrect
- 2 pts Terms Incorrect
- 1 pts Terms Incorrect, but correct approach
- 2 pts Final Value Inccorect
- 1 pts Final Value Incorrect, but used correct terms
QUESTION 13
13 Question 10 10 / 10
✓
- 0 pts Graded by Casey
- 0.5 pts Base Case Insufficient (i.e. didn't clearly
evaluate left- and right-hand side) OR Started at n=1
instead of n=0
- 2 pts Base Case Incorrect
- 0.5 pts Incorrect bounds on k in Inductive
Hypothesis (e.g. missing k>=0). Note: "all positive
integers" => k>= 1.
- 2 pts Inductive Hypothesis Incorrect
- 1 pts Trying to Prove Incorrect (k+1)
- 2 pts Inductive Hypothesis Applied Inccorectly
- 2 pts Insufficient Work Shown
- 1 pts Did Not Arrive At Correct Final Answer
- 0.5 pts Algebra Mistake
- 2 pts Incorrectly Expanded Sum
QUESTION 14
14 Question 11 3 / 3
✓
- 0 pts Graded by Casey
- 1 pts Bases Cases Incorrect
- 0.5 pts Base Cases Partially Incorrect
- 1 pts Recursive Call Coefficients Incorrect
- 0.5 pts Wrong Sign on Recursive Call Coefficient
- 1 pts Recursive Call Arguments Incorrect
QUESTION 15
15 Question 12 9.5 / 10
✓
- 0 pts Graded by Preston
- 1 pts Only 1 Base Case or two wrong base cases
- 2 pts No base cases correctly proven
✓
- 0.5 pts small error in IS
- 1 pts Not strong induction IH, or IH incorrect
- 1 pts Trying to Prove Incorrect
- 3 pts IS completely Incorrect
- 2 pts IH incorrectly applied
- 2 pts Insufficient work shown in proof
- 1 pts Didn't arrive at correct solution
Page 2
Seat Assignment: Name (student to the left): Name (student to the right): Student ID Number: Name: _
Final Exam ICS 6D Winter 2018 March 19, 2018 Instructor: Irene Gassko Instructions •
Wait until instructed to turn over the cover page.
•
Please print the names of the students to your immediate left and right on the provided
lines. If your are at the end of a row you may leave the corresponding line blank.
•
There are questions on both sides. of the page. The back of the last page can be used
for scratch work but will not be graded.
•
Special Instructions for this exam (please read carefully):
-
You can use any standard notation in your final answer, including P(n, k), C(n, k), (�), the factorial func-
tion (n!), or standard arithmetic. You will get full credit as long as the expression evaluates to the correct
answer.
- Write your final answer on the provided line. You should have only one expression on the line for each
question. We will score the question based only on the value of the expression on the line.
-
In all of the questions, the word "or" means the inclusive "or•;:
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
During which part of the scientific method would error bars be used?
arrow_forward
A patient pack of a drug contains 84 tablets
and is designed to last for 1 month. If the
patient takes one dose twice a day, what is
the dose?
arrow_forward
A multiple-choice quiz consists of 5 questions with 4 possible choices. In how many ways can a student answer the questions if the student answers every question (i.e. they don't leave any question blank).
Group of answer choices.
1024,512,2048,256
arrow_forward
In a certain examination the percentage of pass and distinction
arrow_forward
Description
Body mass index (BMI) is a number calculated from a person’s weight and height.According to the Centers for Disease Control and Prevention, the BMI is a fairlyreliable indicator of body fatness for most people. BMI does not measure body fatdirectly, but research has shown that BMI correlates to direct measures of body fat, such as underwater weighing and dual-energy X-ray absorptiometry. The formula for BMI is Weight/Height2
Where weight is in kilograms and height is in meters.
Write a program that prompts for metric weight and height and outputs the BMI.
For example, an execution could look like this:Please enter weight in kilograms: 50Please enter height in meters: 1.58BMI is: 20.0288415318
arrow_forward
Question Completion Status:
A Click Submit to complete this assessment.
Quèstion 16
In modular exponentiation algorithm if a =1 then x:=
(x.power) mod m
(x.power) mod n
(n.power) mod m
(x.n.power) mod m
arrow_forward
When a logical error occurs?
arrow_forward
Blah test
arrow_forward
Briefly explain passing by reference
arrow_forward
In what situations is "overfitting" appropriate?
arrow_forward
1. How Many?
by CodeChum Admin
We’ve been conducting a survey for our investigatory project to ask how satisfied the students are with the current state of our school. We used a rating system that allowed the students to rate from 1 to 10. There were so many people who answered our survey that we couldn’t accurately tally the number of people who answered 1, or 10, or any other number in between! Can you help us?
Input
1. Value of n
Description
The size of the array
Constraints
The value is guaranteed to be greater than or equal to 1
Sample
5
2. The elements of the array
Constraints
All of the elements are ≥1 and ≤ 10
Sample
2
3
2
7
9
3. Value of y
Description
The value of the element we are counting
Constraints
The value is ≥ 1 and ≤ 10
Sample
2
Output
Contains the frequency of y.
Enter·n:·5
Enter·elements:
2
3
2
7
9
Enter·y:·2
FREQUENCY:·2
-PROGRAM C
arrow_forward
Maximum number of steps that can be added in one answer
10 steps
There is no limit on the maximum number of steps
5 steps
O2 steps
arrow_forward
If a child has red hair, they inherited a certain From their parents
arrow_forward
Business Scenario:
"Tasty Burgers", a very fast-growing burger outlet in Melbourne has approached your company
(Software Inc) to help their business by providing the required IT solutions.
Tasty Burgers - Manager Jim has given the following brief about their current business practices
and their expectations:
The burger outlet started in 2010 has seen very steady growth over the past decade. Their main item
and the most popular among the locals are the burgers, the outlet also serves hot chips and cold
drinks. Currently, the restaurant uses a POS (Point of Sales) system to take orders.
Hugely attracted by the self-ordering kiosks at other popular fast-food restaurants, the management
of Tasty Burgers wanted to implement a similar system at their outlet.
During an earlier meeting with your manager (Tom), Jim has been briefed about the challenges in
implementing a full-fledged self-ordering kiosk as a single project. Therefore, it has been decided to
break the project into 4 stages (A, B,…
arrow_forward
In computer science, what are the options for making sure that data is safe at the field level?
arrow_forward
ASSIGNMENT - MIDTERM
Due: Fri, Apr 16 2021 at 11:59 PM
1. Why is there a need to review literature rewalated
to one's study?
2. How does beginner go about doing a review?
3. Where in the research process should the review
of related literature be made?
arrow_forward
PROBABILITY & STATISTICS
An examination consists of multiple-choice questions, each having five possible answers. Suppose you are a student taking the exam. and that you reckon you have probability 0.75 of knowing the answer to any question that may be asked and that, if you do not know, you intend to guess an answer with probability 1/5 of being correct. What is the probability you will give the correct answer to a question?
arrow_forward
Computer science question
arrow_forward
Computer science: When working with what sorts of data should one avoid using the arithmetic mean?
arrow_forward
In java programming With real life examples differentiate between class and object. (Minimum 500 Words)
arrow_forward
How should one go about compiling information for a thorough how-to guide? If you run a sequential search for 4000 names, how many possible outcomes are there?
arrow_forward
11. Study the algorithm shown in Figure 1-14 and then answer the questions.
repeat 5 times:
get the salesperson's name and sales amount
calculate the bonus amount by multiplying the sales amount by 3%
print the salesperson's name and bonus amount
end repeat
Figure 1-14 Algorithm for Exercise 11
e Cengage Learning 2013
a. Which control structures are used in the algorithm?
b. What will the algorithm print when the user enters Jake Harrington and 5500 as the
salesperson's name and sales amount, respectively?
c. How would you modify the algorithm to also print the salesperson's sales amount?
d. How would you modify the algorithm so that it can be used for any number of
salespeople?
e. How would you modify the algorithm to allow the user to enter the bonus rate? The
algorithm should then use that rate to calculate the bonus amount.
arrow_forward
Instructions: Circle T if the statement is true, F if the statement is false, or write the best answer in the space provided
T F Using usernames and passwords is a data validation technique.
arrow_forward
As a BSCS student, do you think it's important for you to learn various computer language?
**maximum 5 sentences
arrow_forward
Alert : Dont't submit AI generated answer and given step by step solution with proper explantion.
Question 1: Answer the following questions.
The first mechanical calculating machine was made by
William Oughtred
Gottfried Leibnitz
Blaise Pascal
Charles Babbage
None of the aboveThe first mechanical calculating machine was made by
William Oughtred
Gottfried Leibnitz
Blaise Pascal
Charles Babbage
None of the above
Which programming language is much in vogue among users of microcomputers
ALGOL
APL
LOGO
FORTH
None of the above
arrow_forward
TOPIC: Axiomatic Systems, Abstraction, and the Use of Symbols in Mathematics
Discuss the role of axioms in proving theorems.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Related Questions
- During which part of the scientific method would error bars be used?arrow_forwardA patient pack of a drug contains 84 tablets and is designed to last for 1 month. If the patient takes one dose twice a day, what is the dose?arrow_forwardA multiple-choice quiz consists of 5 questions with 4 possible choices. In how many ways can a student answer the questions if the student answers every question (i.e. they don't leave any question blank). Group of answer choices. 1024,512,2048,256arrow_forward
- In a certain examination the percentage of pass and distinctionarrow_forwardDescription Body mass index (BMI) is a number calculated from a person’s weight and height.According to the Centers for Disease Control and Prevention, the BMI is a fairlyreliable indicator of body fatness for most people. BMI does not measure body fatdirectly, but research has shown that BMI correlates to direct measures of body fat, such as underwater weighing and dual-energy X-ray absorptiometry. The formula for BMI is Weight/Height2 Where weight is in kilograms and height is in meters. Write a program that prompts for metric weight and height and outputs the BMI. For example, an execution could look like this:Please enter weight in kilograms: 50Please enter height in meters: 1.58BMI is: 20.0288415318arrow_forwardQuestion Completion Status: A Click Submit to complete this assessment. Quèstion 16 In modular exponentiation algorithm if a =1 then x:= (x.power) mod m (x.power) mod n (n.power) mod m (x.n.power) mod marrow_forward
- In what situations is "overfitting" appropriate?arrow_forward1. How Many? by CodeChum Admin We’ve been conducting a survey for our investigatory project to ask how satisfied the students are with the current state of our school. We used a rating system that allowed the students to rate from 1 to 10. There were so many people who answered our survey that we couldn’t accurately tally the number of people who answered 1, or 10, or any other number in between! Can you help us? Input 1. Value of n Description The size of the array Constraints The value is guaranteed to be greater than or equal to 1 Sample 5 2. The elements of the array Constraints All of the elements are ≥1 and ≤ 10 Sample 2 3 2 7 9 3. Value of y Description The value of the element we are counting Constraints The value is ≥ 1 and ≤ 10 Sample 2 Output Contains the frequency of y. Enter·n:·5 Enter·elements: 2 3 2 7 9 Enter·y:·2 FREQUENCY:·2 -PROGRAM Carrow_forwardMaximum number of steps that can be added in one answer 10 steps There is no limit on the maximum number of steps 5 steps O2 stepsarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks ColeC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage