Package deal
CSE 180 TESTS COMPILATION BUNDLE
CSE 180 TESTS COMPILATION BUNDLE
[Show more]CSE 180 TESTS COMPILATION BUNDLE
[Show more]A bit is the smallest representation of data in a computer. correct answer: true 
 
Place value representation is associated with decimal numbers (base 10), but it does not apply to the binary numbers. correct answer: false 
 
A red, yellow, and green traffic light is a good example of a binary sy...
Preview 2 out of 5 pages
Add to cartA bit is the smallest representation of data in a computer. correct answer: true 
 
Place value representation is associated with decimal numbers (base 10), but it does not apply to the binary numbers. correct answer: false 
 
A red, yellow, and green traffic light is a good example of a binary sy...
in MethodName(int x, int y = 20); the "int y = 20" is a ______. correct answer: default value 
 
What type of method does not save a value that is returned by the actions of the method? correct answer: void method 
 
A __________________ __________________ method saves a value that is returned b...
Preview 1 out of 4 pages
Add to cartin MethodName(int x, int y = 20); the "int y = 20" is a ______. correct answer: default value 
 
What type of method does not save a value that is returned by the actions of the method? correct answer: void method 
 
A __________________ __________________ method saves a value that is returned b...
Name 8 primitive types in Java correct answer: int, double, short, long, float, byte, boolean, char 
 
Strings are... correct answer: immutable, Objects, Not Primitive Types, Made up of letters 
 
default int correct answer: 0 
 
default char correct answer: u0000 
 
default double correct ans...
Preview 4 out of 52 pages
Add to cartName 8 primitive types in Java correct answer: int, double, short, long, float, byte, boolean, char 
 
Strings are... correct answer: immutable, Objects, Not Primitive Types, Made up of letters 
 
default int correct answer: 0 
 
default char correct answer: u0000 
 
default double correct ans...
What is the most important aspect of the von Neumann architecture that allows computer software to run so fast? correct answer: Software is stored in memory along with the data. 
 
Using two's complement what is the largest negative integer number that can be stored in a 6-bit storage location? co...
Preview 1 out of 4 pages
Add to cartWhat is the most important aspect of the von Neumann architecture that allows computer software to run so fast? correct answer: Software is stored in memory along with the data. 
 
Using two's complement what is the largest negative integer number that can be stored in a 6-bit storage location? co...
In a client/server structure, there: correct answer: are transmissions to complete a request 
 
What is a GUI? correct answer: Graphical User Interface 
 
A reserved area for text and graphics that displays at the top of each page in a document. correct answer: Header 
 
The feature with which yo...
Preview 1 out of 3 pages
Add to cartIn a client/server structure, there: correct answer: are transmissions to complete a request 
 
What is a GUI? correct answer: Graphical User Interface 
 
A reserved area for text and graphics that displays at the top of each page in a document. correct answer: Header 
 
The feature with which yo...
In class Robot is a method that begins... 
 public static void main(String[] args) { 
Which best describes method main()? 
	 
A) 
Method main() is where program execution begins. 
B) 
Method main() is the Constructor method of class Robot. 
C) 
Method main() must be the only method in class Robot. 
...
Preview 2 out of 12 pages
Add to cartIn class Robot is a method that begins... 
 public static void main(String[] args) { 
Which best describes method main()? 
	 
A) 
Method main() is where program execution begins. 
B) 
Method main() is the Constructor method of class Robot. 
C) 
Method main() must be the only method in class Robot. 
...
An algorithm must be "complete". What does this mean? correct answer: A. It must give the right answer(s). --> This means that it is correct. 
B. It must handle anything that comes up. --> This means that it is complete. || CORRECT ANSWER 
C. It must end, i.e., not run forever. --> This ...
Preview 2 out of 12 pages
Add to cartAn algorithm must be "complete". What does this mean? correct answer: A. It must give the right answer(s). --> This means that it is correct. 
B. It must handle anything that comes up. --> This means that it is complete. || CORRECT ANSWER 
C. It must end, i.e., not run forever. --> This ...
Alogorithm correct answer: Step-by-Step series of instructions to solve a problem 
 
What is the two's complement representation of -25 using a 6-bit word correct answer: 
 
Which of the following statements are true about Java? 
A. Java is case sensitive 
B. Java ignores overflow and underflow ...
Preview 2 out of 12 pages
Add to cartAlogorithm correct answer: Step-by-Step series of instructions to solve a problem 
 
What is the two's complement representation of -25 using a 6-bit word correct answer: 
 
Which of the following statements are true about Java? 
A. Java is case sensitive 
B. Java ignores overflow and underflow ...
1.1. Given the following code segment, what is the string referenced by s1? 
String s1 = "xy"; 
String s2 = s1; 
S1 = s1 + s2 + z; correct answer: xyxyz; 
 
1.2. What is the value of len after the following executes? 
String s1 = "Hey, CS180s!"; 
Int len = h(); correct answer: 12 
 
1.3. What ...
Preview 4 out of 43 pages
Add to cart1.1. Given the following code segment, what is the string referenced by s1? 
String s1 = "xy"; 
String s2 = s1; 
S1 = s1 + s2 + z; correct answer: xyxyz; 
 
1.2. What is the value of len after the following executes? 
String s1 = "Hey, CS180s!"; 
Int len = h(); correct answer: 12 
 
1.3. What ...
An algorithm must be complete. What does that mean? 
A. It must give the right answer(s) 
B. It must handle anything that comes up 
C. It must end i.e. not run forever 
D. It must be understandable to the person or machine that is running it 
E. It must be written in a programming language correct a...
Preview 2 out of 11 pages
Add to cartAn algorithm must be complete. What does that mean? 
A. It must give the right answer(s) 
B. It must handle anything that comes up 
C. It must end i.e. not run forever 
D. It must be understandable to the person or machine that is running it 
E. It must be written in a programming language correct a...
What is the most important aspect of the von Neumann architecture that allows computer software to run so fast? correct answer: Software is stored in memory along with the data 
 
What is an algorithm? correct answer: Step-by-step series of instructions to solve a problem 
 
What is the two's com...
Preview 2 out of 14 pages
Add to cartWhat is the most important aspect of the von Neumann architecture that allows computer software to run so fast? correct answer: Software is stored in memory along with the data 
 
What is an algorithm? correct answer: Step-by-step series of instructions to solve a problem 
 
What is the two's com...
An algorithm must be "complete". What does this mean? correct answer: It must handle anything that comes up. 
 
In class Robot is a method that begins "public static void main(String[] args) {" What bets describes method main()? correct answer: Method main() is where program execution begins. ...
Preview 2 out of 9 pages
Add to cartAn algorithm must be "complete". What does this mean? correct answer: It must handle anything that comes up. 
 
In class Robot is a method that begins "public static void main(String[] args) {" What bets describes method main()? correct answer: Method main() is where program execution begins. ...
What is the value stored in the variable j after executing the following statement? 
 
int j = (15 | x) & 14; 
 
In the aforementioned statement x is a variable of type int containing an integer between 0 (inclusive) and 15 (inclusive). correct answer: 14 
 
What will be the value of x after the ex...
Preview 3 out of 27 pages
Add to cartWhat is the value stored in the variable j after executing the following statement? 
 
int j = (15 | x) & 14; 
 
In the aforementioned statement x is a variable of type int containing an integer between 0 (inclusive) and 15 (inclusive). correct answer: 14 
 
What will be the value of x after the ex...
Given the following code segment, what is in the string referenced by s1? 
String s1 = "xy"; 
String s2 = s1; 
s1 = s1 + s2 + "z"; correct answer: xyxyz 
 
What is the value of len after the following executes? 
String s1 = "Hey, CS180s!"; 
int len = h(); correct answer: 12 
 
What is the va...
Preview 3 out of 16 pages
Add to cartGiven the following code segment, what is in the string referenced by s1? 
String s1 = "xy"; 
String s2 = s1; 
s1 = s1 + s2 + "z"; correct answer: xyxyz 
 
What is the value of len after the following executes? 
String s1 = "Hey, CS180s!"; 
int len = h(); correct answer: 12 
 
What is the va...
ASCII Codes correct answer: 0-1 = 48-57 
A-Z = 65-90 
a-z = 97-122 
 
Digits<Upper<Lower 
 
Main Memory correct answer: -called RAM (random access memory) 
-volatile and used for temporary storage 
-one byte can store 1 letter or small number 
-bytes are identified by its address 
 
Componen...
Preview 2 out of 7 pages
Add to cartASCII Codes correct answer: 0-1 = 48-57 
A-Z = 65-90 
a-z = 97-122 
 
Digits<Upper<Lower 
 
Main Memory correct answer: -called RAM (random access memory) 
-volatile and used for temporary storage 
-one byte can store 1 letter or small number 
-bytes are identified by its address 
 
Componen...
What does digitally literate mean? correct answer: to be able to locate, evaluate, use and create information 
understanding the fundamental principles of computer processing 
understand and use information in multiple formats 
 
Tom would like to narrow his research on artificial intelligence, to ...
Preview 1 out of 4 pages
Add to cartWhat does digitally literate mean? correct answer: to be able to locate, evaluate, use and create information 
understanding the fundamental principles of computer processing 
understand and use information in multiple formats 
 
Tom would like to narrow his research on artificial intelligence, to ...
Model Dialog Box correct answer: Does not allow the current thread to continue executing while the user is selecting a response 
 
Is a Null Pointer Exception checked or unchecked? correct answer: Unchecked 
 
IO Exception checked or unchecked? correct answer: Unchecked 
 
Unchecked Exceptions co...
Preview 1 out of 4 pages
Add to cartModel Dialog Box correct answer: Does not allow the current thread to continue executing while the user is selecting a response 
 
Is a Null Pointer Exception checked or unchecked? correct answer: Unchecked 
 
IO Exception checked or unchecked? correct answer: Unchecked 
 
Unchecked Exceptions co...
The following statement is valid in Java: 
HashMap<Integer, String> hashmap = new HashMap<>(); correct answer: true 
 
Which of the following statement(s) is/are incorrect? 
I. PrintWriter will always overwrite the contents of the file. 
II. BufferedReader can be used to write across a ...
Preview 2 out of 5 pages
Add to cartThe following statement is valid in Java: 
HashMap<Integer, String> hashmap = new HashMap<>(); correct answer: true 
 
Which of the following statement(s) is/are incorrect? 
I. PrintWriter will always overwrite the contents of the file. 
II. BufferedReader can be used to write across a ...
Searching the Internet for "Face recognition and biometrics" instead of Face recognition AND "biometrics": correct answer: decreases the number of articles found 
 
Which protocol is used to regulate the transmission of Internet data? correct answer: TCP/IP 
 
What is a bit in terms of computi...
Preview 2 out of 6 pages
Add to cartSearching the Internet for "Face recognition and biometrics" instead of Face recognition AND "biometrics": correct answer: decreases the number of articles found 
 
Which protocol is used to regulate the transmission of Internet data? correct answer: TCP/IP 
 
What is a bit in terms of computi...
Abstraction correct answer: hiding implementation details from other systems. Information hiding. 
 
Von Neumann Architecture correct answer: I/O, CPU, Memory. 
 
Encapsulation correct answer: constructs that aid in the bundling of data with methods operating on that data. Restricts access to som...
Preview 3 out of 20 pages
Add to cartAbstraction correct answer: hiding implementation details from other systems. Information hiding. 
 
Von Neumann Architecture correct answer: I/O, CPU, Memory. 
 
Encapsulation correct answer: constructs that aid in the bundling of data with methods operating on that data. Restricts access to som...
For the class Cloud, which of the following would be considered a method? 
A. Color 
B. size 
C. startRaining 
D. heightAboveSeaLevel correct answer: C) startRaining 
 
Which of the following in not one of the three central components of the Von Neumann architecture? 
A. Memory 
B. Central Processi...
Preview 3 out of 16 pages
Add to cartFor the class Cloud, which of the following would be considered a method? 
A. Color 
B. size 
C. startRaining 
D. heightAboveSeaLevel correct answer: C) startRaining 
 
Which of the following in not one of the three central components of the Von Neumann architecture? 
A. Memory 
B. Central Processi...
abstraction correct answer: 1. model 
2. defines the common characteristics of some thing 
3. attempts to capture the essence of that thing 
 
data type correct answer: a set of values and a set of operations defined on 
those values. 
 
abstract data type correct answer: 1. defined by the prog...
Preview 2 out of 6 pages
Add to cartabstraction correct answer: 1. model 
2. defines the common characteristics of some thing 
3. attempts to capture the essence of that thing 
 
data type correct answer: a set of values and a set of operations defined on 
those values. 
 
abstract data type correct answer: 1. defined by the prog...
An algorithm must be "complete". What does that mean? correct answer: It must handle anything that comes up. --> This means that it is complete. 
 
In class Robot is a method that begins... 
public static void main(String[] args) { 
Which best describes method main()? correct answer: Method...
Preview 3 out of 18 pages
Add to cartAn algorithm must be "complete". What does that mean? correct answer: It must handle anything that comes up. --> This means that it is complete. 
 
In class Robot is a method that begins... 
public static void main(String[] args) { 
Which best describes method main()? correct answer: Method...
program correct answer: set of instructions that a computer follows to perform a task 
 
programmer/software developer correct answer: a person with the training and skills necessary to design, create, and test computer programs 
 
hardware correct answer: the physical components of which a compu...
Preview 4 out of 45 pages
Add to cartprogram correct answer: set of instructions that a computer follows to perform a task 
 
programmer/software developer correct answer: a person with the training and skills necessary to design, create, and test computer programs 
 
hardware correct answer: the physical components of which a compu...
Suppose that you create class Environment. What will the Constructor of that class be named? 
a. Environment 
b. constructor 
c. class 
d. initialize 
e. new correct answer: A. environment 
 
Which of the following evaluates to the integer 1? 
a. 13/4 
b. 13 % 4 
c. 16/6 
d. 16%6 
e. 1/2 correct an...
Preview 3 out of 19 pages
Add to cartSuppose that you create class Environment. What will the Constructor of that class be named? 
a. Environment 
b. constructor 
c. class 
d. initialize 
e. new correct answer: A. environment 
 
Which of the following evaluates to the integer 1? 
a. 13/4 
b. 13 % 4 
c. 16/6 
d. 16%6 
e. 1/2 correct an...
Which of the following keywords may appear in a switch statement? Check all that apply. 
break 
default 
switch 
case correct answer: All 
 
Give the base 8 representation of the following numbers 
13 
27 correct answer: 15 
33 
 
Convert the following binary numbers to decimal values: 
1001 
1101...
Preview 4 out of 50 pages
Add to cartWhich of the following keywords may appear in a switch statement? Check all that apply. 
break 
default 
switch 
case correct answer: All 
 
Give the base 8 representation of the following numbers 
13 
27 correct answer: 15 
33 
 
Convert the following binary numbers to decimal values: 
1001 
1101...
A _______________is a network cable that contains strands of glass, fibers inside an insulated casing. correct answer: Fiber optic cable 
 
The computer _______________ tells the computer how to perform a task correct answer: Software 
 
______________are multiprocessing machine that can support u...
Preview 2 out of 8 pages
Add to cartA _______________is a network cable that contains strands of glass, fibers inside an insulated casing. correct answer: Fiber optic cable 
 
The computer _______________ tells the computer how to perform a task correct answer: Software 
 
______________are multiprocessing machine that can support u...
What are the major components of a typical computer system? correct answer: motherboard, CPU, GPU, RAM (main memory), SSD/HDD 
 
What are examples of input devices? correct answer: Keyboard, Mouse, Webcam, Microphone, Scanner, Numeric Pad. The data that a computer collects from the outside world. ...
Preview 3 out of 21 pages
Add to cartWhat are the major components of a typical computer system? correct answer: motherboard, CPU, GPU, RAM (main memory), SSD/HDD 
 
What are examples of input devices? correct answer: Keyboard, Mouse, Webcam, Microphone, Scanner, Numeric Pad. The data that a computer collects from the outside world. ...
Main Memory correct answer: Internal storage in a computer 
 
Secondary Memory correct answer: A device that stores data in encoded form, outside the computers main memory 
 
Central Processing Unit (CPU) correct answer: The part of the computer that executes the instructions stored in memory, ma...
Preview 1 out of 4 pages
Add to cartMain Memory correct answer: Internal storage in a computer 
 
Secondary Memory correct answer: A device that stores data in encoded form, outside the computers main memory 
 
Central Processing Unit (CPU) correct answer: The part of the computer that executes the instructions stored in memory, ma...
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Stuvia is a marketplace, so you are not buying this document from us, but from seller Classroom. Stuvia facilitates payment to the seller.
No, you only buy these notes for $40.49. You're not tied to anything after your purchase.
4.6 stars on Google & Trustpilot (+1000 reviews)
72042 documents were sold in the last 30 days
Founded in 2010, the go-to place to buy study notes for 14 years now