Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CPS 180 Exam 1 Questions With Correct Answers 2023Latest Update (A+)., Exams of Information Technology

CPS 180 Exam 1 Questions With Correct Answers 2023Latest Update (A+).

Typology: Exams

2022/2023

Available from 11/26/2023

arnezieme9
arnezieme9 🇺🇸

5

(1)

1.9K documents

1 / 47

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
[Date]
CPS 180 Exam
1 Questions
With Correct
Answers
2023Latest
Update (A+).
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f

Partial preview of the text

Download CPS 180 Exam 1 Questions With Correct Answers 2023Latest Update (A+). and more Exams Information Technology in PDF only on Docsity!

[Date]

CPS 180 Exam

1 Questions

With Correct

Answers

2023Latest

Update (A+).

[Date]  Keywords - answers>Lower case words reserved by java (can't be identifiers)  ex: public, static, class, void

[Date] causes the computer to perform an action  The name of the .java source code

  • answers>must match the name of the class

[Date]  Bytecode - answers>what java compiles to so the virtual machine interprets and runs  WORM language - answers>java can write once and run many

[Date] create it in your mind)  3. Use design tools to create a model of the program (use pseudocode)

[Date]  4. Check the model for logical errors  5. Enter the code and compile it  6. Correct any errors found and repeat 5/

[Date]  9. Validate the results of the program (see if it solves original problem)  Logical errors - answers>mistakes that cause the

[Date] program to produce erroneous results  Runtime errors - answers>Errors that occur while your program runs

[Date]  Algorithm - answers>instructions given to solve the problem  Variables - answers>created by programmer who assigns it a

[Date] programmer-defined identifier (ex: hours)  a named storage location in the computer's memory  legal: hello, fnonf  not legal: 45hello

[Date] o each class can be separated into parts  Class header - answers>tells the compiler things about the class such as what other classes can use it (public)

[Date] and that it is a java class (class)  (ex: public class Name)  Class definition - answers>a block of code that specifies (or defines) an object's appearance

[Date]  java command will run this first and it will start the java program  String literal - answers>text in double quotes

[Date]  Special Characters - answers>// : beginning of comment  ( ) : used in a method header  { } : encloses a group of statements  " " : encloses a string