Computer Science Placement
Exam Questions And Answers
Latest Update
Variables ANS✔✔ Variables do not need prior definitions/declarations
before being used. Variables in this exams are integers and boolean values
(true/false)
Output/Printing ANS✔✔ PRINT is an instruction to display the output.
Multiple values will be separated by a comma. Multiple prints will be separated
by space with coding. Boolean statements will show as True/False.
Operators ANS✔✔ An operator is a symbol to perform different functions. +
- * / are all used. The use of / indicates that the number is an integer (there are
no remainders). mod is used to get the remainder of a division. eq is used to
indicate the equality operator and will result in a boolean statement. The other
operators which will return a Boolean value are >=, <=, > and <.
Arithmetic Expressions ANS✔✔ Parenthesis > Multiplication> Division >
Addition > Subtraction > Boolean Operators. a + b > c is a Boolean expression
evaluated by adding the sum of a and b and comparing it to c.
If Statements ANS✔✔ This exam uses an if (condition) then statement
format. This exam will use a boolean format. If the boolean statement is true
then the statement will be executed. If the condition is false, then the
statement will not be executed.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Schoolflix. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $14.99. You're not tied to anything after your purchase.