CMSC 131 Study Questions 1 Flashcards

1
Q

What does the acronym CVS stand for?

A

Concurrent Versioning System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does IDE stand for?

A

Integrated Development Environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What IDE will we use in class this semester?

A

Eclipse

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does CPU stand for?

A

Central Processing Unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define the term “bit”.

A

It’s an abstraction – a bit can be either 0 or 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define the term “byte”.

A

A sequence of 8 bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is “hardware”? Name some examples.

A

Physical components of the computer. (Things you can “touch”). Examples include: CPU, RAM chips, mother board, disk drives, monitor, mouse, keyboard, cables…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is “software”? Name some examples.

A

These are the “programs” that you can run on a computer. Examples: Internet browsers, games, word processors, spreadsheet programs, the operating system, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name several different operating systems.

A

Some are: Windows (eg: XP/7/8), Mac OS X, Unix, Linux, Solaris…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Give some examples of secondary memory devices.

A

Hard drives, floppy disks, flash memory devices, CD’s , DVD’s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the advantage of primary memory over secondary?

A

It is typically much faster.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the advantage of secondary memory over primary?

A

It is permanent. (Also usually there is more of it!)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does I/O stand for? Give some examples of I/O devices.

A

Input/Output. These are devices that allow you to communicate with the computer: monitor, keyboard, mouse, printer, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How many different combinations of 0’s and 1’s can be represented using 7 bits?

A

27 = 128

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How many bytes are in a kilobyte? Megabyte? Gigabyte?

A

210 = 1024Megabyte? 220Gigabyte? 230

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Name four things that the operating system does for you.

A

Any of:

  • Process management
  • Memory management
  • Primitive I/O
  • Windowing
  • Primitive network control
  • Security management
17
Q

What do you call the language that the CPU uses (0’s and 1’s represent instructions in this language).

A

machine language

18
Q

How does “assembly language” relate to your answer to the previous question?

A

Assembly language is a mnemonic representation of machine language.

19
Q

Name some higher level languages that were NOT designed for object oriented programming.

A

Fortran, Cobol, C, etc.

20
Q

Name some higher level languages that WERE designed for object oriented programming.

A

C++, Java, etc.

21
Q

Translate the number 123 into base 7 representation.

A

234 (base 7)

22
Q

Translate the binary (base 2) number 1011010 into base 10 representation.

A

90

23
Q

Translate the hexidecimal (base 16) number 7F into binary representation.

A

1111111

24
Q

When your Java program is compiled, what type of file is created? (Hint: It is NOT machine language.)

A

bytecode

25
Q

What does it mean for someone to say that a Java program is “portable”?

A

The same bytecode will run successfully on any platform (provided that the Java Virtual Machine (JVM) is available.)