JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Week 1 Quiz
This week, we looked at the Unix Client and basic forming of algorithms. Let's recap how much we learnt/remember!
Note: Some of the questions here also cover the coding component in the Unix workshop!
Sign in to Google
to save your progress.
Learn more
What language will we be programming in?
Java
Python
C
Ruby
Clear selection
Does problem solving here always involve fixed linear patterns (i.e Analysis , then design, then implementation and end after testing)
Yes
Not really, but I'm not sure how to explain it
In most cases, I might need to repeat certain steps (i.e. back to design stage after testing)
Clear selection
When coming up with an algorithm, we aim for it to be effective yet general, and most importantly, to the point (exact). In what format can this algorithm be presented in?
A pseudo-code or a flow chart
A pie chart or a bar chart
A trend diagram or graph
Change profession to gardening
Clear selection
What type of language is pseudo-code supposed to be written in?
C
C++
C#
English or any other language - It's okay as long as the reader understands it
Clear selection
Which of the following IS NOT a valid data type in c
Hint: Look back at pg 25!
int
float
char
cats
Clear selection
From the lecture's examples, a general pattern was observed in the algorithms - input and output. Is this correct?
Looping is missing!
Compute is missing!
Transforming is missing!
I rather be a gardener.
Clear selection
Task 1 in the lecture notes (pg 38) refers to a possible use of Pythagoras theorem to solve the problem. Are there any C libraries that I should include to use to solve the problem?
Hint: You will need to perform square root in the Pythagoras theorem.
stdio.h is sufficient for this program
math.h is required with stdio.h
Only math.h is required
Only time.h is required
Clear selection
When I think my code is not working, what should I do?
Submit to codecrunch and submit to fate
My lecturers and DLs are machines that help me code
Impossible!
Trace my program to check for errors and consult my lecturer or DL to verify my algorithm
Clear selection
Next
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google.
Report Abuse
-
Terms of Service
-
Privacy Policy
Forms