Apps Web Exam Questions & Answers 2024/2025
user interface, application, data - ANSWERSBasic web app architecture/skeleton: what are the layers.
$ - ANSWERSSymbol to signify a global variable
@ - ANSWERSSymbol to signify an instance variable
@@ - ANSWERSSymbol to signify a class insta...
user interface, application, data - ANSWERSBasic web app architecture/skeleton: what are the layers.
$ - ANSWERSSymbol to signify a global variable
@ - ANSWERSSymbol to signify an instance variable
@@ - ANSWERSSymbol to signify a class instance variable
#{...} - ANSWERSWhat symbol represents interpolation? E.g. "The sum 6+3 is 9"
0...4 - ANSWERSRange from 0 to 4 that doesn't include 4
self - ANSWERSThe replacement for the keyword "this" in Java
false - ANSWERSTrue or false: 0 can be used to represent a false boolean value
specials - ANSWERSBuilt-in constants similar to environment variables, e.g. __FILE__ = the current source
file name
true - ANSWERSTrue or false: if clauses can be used before or after a code statement.
until - ANSWERSEquivalent keyword to "while not"
unless - ANSWERSEquivalent keyword to "if not"
, ** - ANSWERSHow to raise something to a power
true - ANSWERSTrue or false: integer division always rounds down (towards negative infinity)
<=> - ANSWERSReturns -1 if left term is smaller than the right term, 0 if equal, and 1 if larger than the
right term
.equal? - ANSWERSHow do you check for reference value equality?
== - ANSWERSHow do you check for object value equality?
true - ANSWERSTrue or false:
s1, s2 = "hi", "hi"
is a legal statement in Ruby.
[1, 1] - ANSWERSWhat is the return value for the following statement?
x, y = 1, 1
x = 1, y = 1 - ANSWERSWhat is the result of the following statement?
x, y = 1, 1
single point of control over change - ANSWERSMeaning of SPOCOC
.cover? - ANSWERSRange method that checks if the given value falls between 2 endpoints of the range
(not necessarily exists in the range)
.include? - ANSWERSRange method that checks if the given value exists in the range
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 Bensuda. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $8.49. You're not tied to anything after your purchase.