Unit 1 Study Guide Flashcards
Which of the following are computer hardware components? A. input devices B. Output devices C. Main memory D. Secondary memory E. CPU
All of the above
Computer software is composed of A. Compiler B. Programs C. Decimal data D. Operating system
A-B-D
List computer input devices
Mouse, keyboard, digital pen, trackball, trackpad, voice control, touch control
List computer output devices
Printer, monitor, speakers, USB drive, disc, CD, DVD
What are main memory, secondary memory and the CPU?
Main memory -
Secondary memory -
CPU - central processor unit. Brains of the computer that processes data and commands
How do programs, the compiler and the operating system interact?
?
What is single line versus multiple line?
?
What is output by the following? Print (''she sells |nseashells") Print ("by the seashore") A. She sells seashells by the seashore B. She sells Seashells By the seashore C. She sells seashells By the seashore
C. She sells seashells
By the seashore
\_\_\_\_\_\_\_\_\_\_\_ is what we use to communicate day to day. A. Natural language B. Algorithms C. Formal language D. Code
A. Natural language
What is the CPU?
A. Central Processing Unit. Brains of the computer.
B. Command Perhiperhal unit. Handles all input/output devices
C. Computer Programming Unit. Stores the program commands
D. Central Programming Unit. Translates high level language into code
A. Central Processing Unit
What is output by. Print ("/\\") Print ("\\/") A. /\\\\/ B. /\\ \\/ C. /\\ \/
B. /\
\/
The program that runs on a computer are called A. Concatenation B. Browser C. Hardware D. Software
D. Software
What is output by the following? Assume user enters Sally & John. X = input (“What is your name?”)
Y = input (“What is your friend’s name?”)
Print (“Hi” + x “and” y)
A. Hi x and y
B. Hi Sally and John
C. Hi + Sally + and + John
D. Hi + x + and + y
B. Hi Sally and John
Instructions written in code that computers follow are called: A. Input B. Compilers C. Programs D. Operating systems
C. Programs
Which of these is NOT a valid variable name? A. Appointment_hour B. %information C. FirstName D. Grade3
B. %information
A name given to a spot in memory is called: A. Input B. Output C. Variable D. Print
C. Variable
Which of the following is NOT an output device? A. Screen B. Speakers C. Camera D. Printer
C. Camera
_______________ means a series of interconnected things or events such as instructions in computer code.
Concatenation
___________ are a linear sequence of data or commands
Strings
What does \ mean? It is called an _________ character.
Escape character. Tells the compiler to treat the next character differently. Such as \n or \t or new line or TAB
\n designates what?
\n - new line starts
What is the compiler?
Software program that converts instructions into machine code or lower level form so that they can be read and executed by a computer.
Software that supports basic computer functions such as executing applications, controlling peripherals, and scheduling tasks is called ____________
Operating system
Codes instructions that enable a computer to perform particular tasks are called: A. Operating system B. Compiler C. Programs D. Typecasting
C. Programs