ComputerScience1

0.0(0)
Studied by 9 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/44

flashcard set

Earn XP

Last updated 6:40 PM on 1/6/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

45 Terms

1
New cards
What are the cycles for Computer System Central Processing?
* Fetch
* Retrieves an Instruction from Main Memory
* Decode
* Determines what the instruction is
* Execute
* Carry out the instruction
2
New cards
Types of Hardware
* Secondary Storage Devices
* Main Memory (RAM)
* Central Processing Unit (CPU)
* Input and Output Devices
3
New cards
Portable
________ is a program that can be written on one type of computer and then run on a wide variety of computers, with little or no modification
4
New cards
What does CPU stand for
Central Processing Unit
5
New cards
Types of Software
Applications

Operating Systems
6
New cards
Javac
________ translates Java source file into a file that contains byte code instructions.
7
New cards
console window
A(n) ________ that starts a java application is a: Standard output device.
8
New cards
operator system
A(n) ________ manages communication between software and hardware.
9
New cards
source code
A(n) ________ is the Java programming statements for the program.
10
New cards
Identifiers are programmer-defined names for
class

variable

method
11
New cards
Double value
________ is not compatible with a float bc of its size and precession.
12
New cards
JVM
________ is often called an interpreter.
13
New cards
Identifers
________ are programer- defined names for.
14
New cards
Println
________: places a newline character at the end of whatever is bring printed.
15
New cards
Application
________ enables you to perform a specific task.
16
New cards
Binary numbers
________ are 1 and 0.
17
New cards
compiler program
A(n) ________ translates the source code into an executable for.
18
New cards
R
________: carriage return- causes the cursor to go to the beginning of the current line, not the next line.
19
New cards
" "
Encloses a string of character such as a message that can be printed in the screen
20
New cards
A console window that starts a java application is a
Standard output device
21
New cards
Println
places a newline character at the end of whatever is bring printed
22
New cards
/n
newlines-advances curser to the new line for subsequent printing
23
New cards
/
single quote causes a single quotion mark to be printed
24
New cards
\\t
tab- causes cursor to skip over to the next tab stop
25
New cards
\\b
backspace- causes cursor to back up of move left one position
26
New cards
\\r
carriage return- causes the cursor to go to the beginning of the current line, not the next line
27
New cards
\\’
single quote causes a single quotation mark to be printed
28
New cards
\\”
causes the double quotation mark to be printed
29
New cards
\\\\
causes a blackslash to be printed
30
New cards
System.out.print("I love cheese
/n");
31
New cards
System.out.println("The value is
"+ value);
32
New cards
Smallest positive number
00000000
33
New cards
largest positive number
01111111
34
New cards
Smallest negative number
11111111
35
New cards
Largest negative number
1000000
36
New cards
What are the Major Programming languages divided into these three groups?

1. Machine
2. Assembly
3. High Level Language
37
New cards
Java Virtual Machine
Test editor→Source Code (filename.java) →Java Compiler →Bytecodes (classname.class) → Java virtual machine (java interpreter) →operating system
38
New cards
Coding the integer 5

with the class variable

print: The value is
public class Variable

{

public static void main(String\[\] args)

{

int value;

value = 5;

System.out.println(“The value is “ + value);

}

}
39
New cards
byte
1 byte
40
New cards
short
2 byte
41
New cards
int
4 byte
42
New cards
long
8 byte
43
New cards
float
4 byte
44
New cards
double
8 byte
45
New cards
Floating point literals
double value is not compatible with a float bc of its size and precession

* but it can be forced into a float
* number = 23.5F; // Works