COMP 248 – Final UPDATED Actual Exam Questions and CORRECT Answers
7 views 0 purchase
Course
COMP 248
Institution
COMP 248
COMP 248 – Final UPDATED Actual
Exam Questions and CORRECT Answers
Java compiler - CORRECT ANSWER- bytecode that translates source code
Java interpreter - CORRECT ANSWER- takes Java bytecode and converts into machine
language and executes it
Algorithm - CORRECT ANSWER- a step-by-step proce...
COMP 248 – Final UPDATED Actual
Exam Questions and CORRECT Answers
Java compiler - CORRECT ANSWER- ✔✔bytecode that translates source code
Java interpreter - CORRECT ANSWER- ✔✔takes Java bytecode and converts into machine
language and executes it
Algorithm - CORRECT ANSWER- ✔✔a step-by-step process for solving a problem
Pseudocode - CORRECT ANSWER- ✔✔detailed description on how to solve a problem
program - CORRECT ANSWER- ✔✔algorithm expressed in programming language
Steps in Problem Solving - CORRECT ANSWER- ✔✔1. understand problem
2. design solution (algorithm)
3. implement solution
4. test program & fix bugs
classes - CORRECT ANSWER- ✔✔collections of actions
methods - CORRECT ANSWER- ✔✔actions that an object can perform
statements - CORRECT ANSWER- ✔✔instructions you write when developing a computer
program
compiler time errors - CORRECT ANSWER- ✔✔syntax error, system will tell you the
problem
run time errors - CORRECT ANSWER- ✔✔Errors that occur when the program is being
executed.
, logic errors - CORRECT ANSWER- ✔✔semantics, bug in the program or mistake in
algorithm that program may run but doesn't execute the way you wanted it to
identifier - CORRECT ANSWER- ✔✔words programmer uses in program to name variables,
classes, methods
Rules when naming an identifier - CORRECT ANSWER- ✔✔letters, digits, underscore,
dollar sign
CANNOT: begin with a digit, be reserved word, not too long
what are the 3 primitive types - CORRECT ANSWER- ✔✔numeric, characters, boolean
numeric type - CORRECT ANSWER- ✔✔all integers; int, byte, int, long
floating point numbers; float, double
character type - CORRECT ANSWER- ✔✔char ('a')
boolean values - CORRECT ANSWER- ✔✔boolean (T/F)
variable - CORRECT ANSWER- ✔✔giving name to a location (ex. int total)
constant - CORRECT ANSWER- ✔✔holds one variable (all capital)
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 MGRADES. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.49. You're not tied to anything after your purchase.