CMSC 131 Study Questions 1 Flashcards
(25 cards)
What does the acronym CVS stand for?
Concurrent Versioning System
What does IDE stand for?
Integrated Development Environment
What IDE will we use in class this semester?
Eclipse
What does CPU stand for?
Central Processing Unit
Define the term “bit”.
It’s an abstraction – a bit can be either 0 or 1
Define the term “byte”.
A sequence of 8 bits.
What is “hardware”? Name some examples.
Physical components of the computer. (Things you can “touch”). Examples include: CPU, RAM chips, mother board, disk drives, monitor, mouse, keyboard, cables…
What is “software”? Name some examples.
These are the “programs” that you can run on a computer. Examples: Internet browsers, games, word processors, spreadsheet programs, the operating system, etc.
Name several different operating systems.
Some are: Windows (eg: XP/7/8), Mac OS X, Unix, Linux, Solaris…
Give some examples of secondary memory devices.
Hard drives, floppy disks, flash memory devices, CD’s , DVD’s
What is the advantage of primary memory over secondary?
It is typically much faster.
What is the advantage of secondary memory over primary?
It is permanent. (Also usually there is more of it!)
What does I/O stand for? Give some examples of I/O devices.
Input/Output. These are devices that allow you to communicate with the computer: monitor, keyboard, mouse, printer, etc.
How many different combinations of 0’s and 1’s can be represented using 7 bits?
27 = 128
How many bytes are in a kilobyte? Megabyte? Gigabyte?
210 = 1024Megabyte? 220Gigabyte? 230
Name four things that the operating system does for you.
Any of:
- Process management
- Memory management
- Primitive I/O
- Windowing
- Primitive network control
- Security management
What do you call the language that the CPU uses (0’s and 1’s represent instructions in this language).
machine language
How does “assembly language” relate to your answer to the previous question?
Assembly language is a mnemonic representation of machine language.
Name some higher level languages that were NOT designed for object oriented programming.
Fortran, Cobol, C, etc.
Name some higher level languages that WERE designed for object oriented programming.
C++, Java, etc.
Translate the number 123 into base 7 representation.
234 (base 7)
Translate the binary (base 2) number 1011010 into base 10 representation.
90
Translate the hexidecimal (base 16) number 7F into binary representation.
1111111
When your Java program is compiled, what type of file is created? (Hint: It is NOT machine language.)
bytecode