Final Exam Flashcards
Hard Drive
Stores data
RAM
Temporarily stores data
Which storage does the processor use?
RAM
What are programming languages listed high to low level?
Pseudo > high > assembly > machine
Name high level object oriented programming languages
C#, C++, Java
What is java assembly language?
Java bytecode for JVM
What is machine code?
Binary, executable
What does compiler do?
Converts code into executable form
What does interpretor do?
Translates while running program
How is java compiled?
By Javac to bytecode
What is bytecode?
A special portable executable for Java compiled by Javac
What are the phases of programming?
Define/analyze, design, write code, test code, document, maintain/upgrade
What are the three data types?
Primitive, collections, and objects
What is one byte?
8 bits
What are boolean, byte, char, short, and float?
Primitive variables
What must at least one class in a project have?
A main method
What is structured processing?
Inputing data, processing, and producing output
Sequence, decisions, loops
What is procedural processing?
Passing data, processing, and returning values
What is object oriented processing?
Defining data attributes and methods that operate on them, creating powerful new data types
What are the different types of identifiers?
Classes, methods, variable names
Identifiers can contain:
Letters, digits, and $
What are " , \ , \n , \t ?
Escape sequences
When is final used?
For constants whose values do not change
Postfix - int y = x++ results in:
Y is a number, then x is incremented