• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 14 páginas
Examen

COMP 248 – Final Exam Study Guide.

Document preview thumbnail
Vista previa 2 fuera de 14 páginas

COMP 248 – Final Exam Study Guide. Java compiler - answerbytecode that translates source code Java interpreter - answertakes Java bytecode and converts into machine language and executes it Algorithm - answera step-by-step process for solving a problem Pseudocode - answerdetailed description on how to solve a problem program - answeralgorithm expressed in programming language Steps in Problem Solving - answer1. understand problem 2. design solution (algorithm) 3. implement solution 4. test program & fix bugs classes - answercollections of actions methods - answeractions that an object can perform statements - answerinstructions you write when developing a computer program ©SIRJOEL EXAM SOLUTIONS 11/3/2024 10:54 PM compiler time errors - answersyntax error, system will tell you the problem run time errors - answerErrors that occur when the program is being executed. logic errors - answersemantics, bug in the program or mistake in algorithm that program may run but doesn't execute the way you wanted it to identifier - answerwords programmer uses in program to name variables, classes, methods Rules when naming an identifier - answerletters, digits, underscore, dollar sign CANNOT: begin with a digit, be reserved word, not too long what are the 3 primitive types - answernumeric, characters, boolean numeric type - answerall integers; int, byte, int, long floating point numbers; float, double character type - answerchar ('a') boolean values - answerboolean (T/F) variable - answergiving name to a location (ex. int total) constant - answerholds one variable (all capital) output - answerSln(" "); ©SIRJOEL EXAM SOLUTIONS 11/3/2024 10:54 PM console output - answerimport .Scanner; Scanner myKeyboard = new Scanner(S); close() method - answermyK(); Assignment Operator - answerequals sign = Order of operator precedence - answer1. brackets 2. positive or negative 3. multiplication, division, remainder 4. +, -, string concatenation (" + " +); equals() method - answerdetermine if two strings have same content, returns a boolean (T/F) if statement - answerif (condition) statement; if-else statement - answerif (condition) statement; else statement; compareTo() method - answerdetermines if one string comes before another, returns an int

Vista previa del contenido

©SIRJOEL EXAM SOLUTIONS
11/3/2024 10:54 PM



COMP 248 – Final Exam Study Guide.


Java compiler - answer✔bytecode that translates source code


Java interpreter - answer✔takes Java bytecode and converts into machine language and executes

it


Algorithm - answer✔a step-by-step process for solving a problem


Pseudocode - answer✔detailed description on how to solve a problem


program - answer✔algorithm expressed in programming language


Steps in Problem Solving - answer✔1. understand problem


2. design solution (algorithm)

3. implement solution

4. test program & fix bugs


classes - answer✔collections of actions


methods - answer✔actions that an object can perform


statements - answer✔instructions you write when developing a computer program

, ©SIRJOEL EXAM SOLUTIONS
11/3/2024 10:54 PM


compiler time errors - answer✔syntax error, system will tell you the problem


run time errors - answer✔Errors that occur when the program is being executed.


logic errors - 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 - answer✔words programmer uses in program to name variables, classes, methods


Rules when naming an identifier - answer✔letters, digits, underscore, dollar sign


CANNOT: begin with a digit, be reserved word, not too long


what are the 3 primitive types - answer✔numeric, characters, boolean


numeric type - answer✔all integers; int, byte, int, long


floating point numbers; float, double


character type - answer✔char ('a')


boolean values - answer✔boolean (T/F)


variable - answer✔giving name to a location (ex. int total)


constant - answer✔holds one variable (all capital)


output - answer✔System.out.println(" ");

Información del documento

Subido en
16 de octubre de 2024
Número de páginas
14
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$10.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
sirjoel
3.6
(20)
Vendido
136
Seguidores
13
Artículos
12750
Última venta
1 hora hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes