100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COMP 248 – Final UPDATED Actual Exam Questions and CORRECT Answers $9.49   Add to cart

Exam (elaborations)

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...

[Show more]

Preview 2 out of 11  pages

  • September 24, 2024
  • 11
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • COMP 248
  • COMP 248
avatar-seller
MGRADES
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)



output - CORRECT ANSWER- ✔✔System.out.println(" ");



console output - CORRECT ANSWER- ✔✔import java.util.Scanner;
Scanner myKeyboard = new Scanner(System.in);


close() method - CORRECT ANSWER- ✔✔myKeyboard.close();

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

82215 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.49
  • (0)
  Add to cart