CSCI 1301 Test 1 Flash Cards

Description

CSCI 1301 Terms for Test 1
marc30599 .
Flashcards by marc30599 ., updated more than 1 year ago
marc30599 .
Created by marc30599 . about 6 years ago
24
0

Resource summary

Question Answer
Syntax Error Result of failing to follow the grammar rules of the language. These errors are caught by the compiler.
Logic Error When you encounter unexpected results during the program's execution. Result of an incorrect algorithm or mistake in implementation. Not caught by compiler and a difficult error to find
Interpreter Tends to analyze and interpret the same program statements each time it meets them. When it encounters an error, it reports it to the user immediately and halts further execution.... scanning line by line.
Compiler Requires analysis and the generation of machine code only once, analyzing the entire program taking note of where errors most notably syntax errors
Pseudocode Structured kind of English not code
Algorithm Step-by-Step problem solving process
Identifier Variables that are user defined
Prompt Gets the user to input information
Object A scanner would be an object
Javac compile command typed as "javac filename.java" that compiles your program (you run the program with the command "java filename")
Comments Not executed and ignored by the compiler and gives information about the program
Keyword Words already defined in the programming language
How do you declare scanner? import it "import java.util.scanner"
Format of a Java Program Main Main Methods Statements
A ____ marks the end of a complete programming statement. Semi-colon
The CPU performs the ______, _______ and _____ in order to process program information. fetch, decode, and execute cycle
Bytecode files end with ____ extension. .class extension
Two components of the CPU are the _______ and the _______. ALU and the Control Unit
Show full summary Hide full summary

Similar

2. Red Black Tree
Mena Sargios
0. AVL Tree Visualization
Mena Sargios
12. Graph Traversal
Mena Sargios
5. B-Tree
Mena Sargios
7. Algorithm Growth Rate
Mena Sargios
3. 2-3 Tree
Mena Sargios
4. 2-3-4 Tree
Mena Sargios
16. Greedy Algorithm (Huffman code)
Mena Sargios
14. Graph Shrtest Path
Mena Sargios
10. Hashing Collision
Mena Sargios
15. Graph Spanning Tree
Mena Sargios