CSC 176 Exam 3 - PowerPoint PPT Presentation

1 / 30
About This Presentation
Title:

CSC 176 Exam 3

Description:

The kind of program that translates a high-level language to a low-level one all ... PIPPIN is an example of this type of programming language. Assembly. 11. ... – PowerPoint PPT presentation

Number of Views:25
Avg rating:3.0/5.0
Slides: 31
Provided by: elon47
Category:
Tags: csc | exam | register

less

Transcript and Presenter's Notes

Title: CSC 176 Exam 3


1
CSC 176 Exam 3
  • Review Game

2
1.
  • The kind of program that translates a high-level
    language to a low-level one all at once is
    called...
  • Compiler

3
2.
  • Numbers written with only zeroes and ones are
    said to be in this format.
  • Binary

4
3.
  • The standard coding for letters for a computer is
    called...
  • ASCII

5
4.
  • AND, OR, and NOT are three types of what?
  • Gates, or logic circuits

6
5.
  • Two half adders and an OR gate make up what?
  • A full adder

7
6.
  • The small black box on the motherboard that holds
    your Pentium processor and has a fan on it is
    called the...
  • CP.... uh, U! CPU!!

8
7.
  • The memory that gets reset every time the power
    is turned off is called...
  • RAM (Random access memory)

9
8.
  • The fast memory registers used for temporary
    storage are called...
  • Cache

10
9.
  • A three-pronged component that acts as a faucet
    for current is called...
  • transistor

11
10.
  • PIPPIN is an example of this type of programming
    language
  • Assembly

12
11.
  • The memory cells inside the CPU are called...
  • Registers

13
12.
  • The special register that holds the result of
    arithmetic operations is called...
  • Accumulator

14
13.
  • This is an example of what? Truth table
  • A B AB (AB)
  • 0 0 0 1
  • 0 1 0 1
  • 1 0 0 1
  • 1 1 1 0

15
14.
  • This code comes from which generation of
    programming language?
  • Third
  • public int sumTwo(int x, int y) int z xy
    return z

16
15.
  • This code comes from what generation of
    programming language?
  • Fifth
  • class(176, thursday).class(176,
    tuesday).class(130, thursday).
  • - class (X, thursday)?X 130X 176

17
16.
  • The program that acts as a go-between from your
    hardware to your software is called...
  • Operating System

18
17.
  • One one or zero in the computer is called what?
  • A bit

19
18.
  • How many bits are in a byte?
  • 8

20
19.
  • The OS has the job of starting the computer when
    the power is turned on. What is this process
    known as?
  • Boot on, wait, no, Boot UP!!

21
20.
  • The ability of the OS to run multiple
    applications at once is called...
  • Multitasking or multiprocessing

22
21.
  • This is an example of what type of programming
    language?
  • Machine Code
  • 0001 1000
  • 0010 1101
  • 0010 1001
  • 0011 1011

23
22.
  • The process by which silicon chips are made is
    known as...
  • Photolithography

24
23.
  • The expression AB AB computes what? SUM

25
24.
  • Both Assembly code and machine code are known as
    what?
  • Low-level

26
25.
  • The program that translates assembly code to
    machine code is called what?
  • An assembler

27
All-play
  • Draw a Truth table for the expression
  • (CBA)B
  • A B C B CB CBA (CBA)B
  • 0 0 0 1 0 0 0
  • 0 0 1 1 1 1 0
  • 0 1 0 0 0 0 0
  • 0 1 1 0 0 0 0
  • 1 0 0 1 0 1 0
  • 1 0 1 1 1 1 0
  • 1 1 0 0 0 1 1
  • 1 1 1 0 0 1 1

28
All-play
  • Draw the circuit for the expression
  • (CBA)B

29
All-play
  • What are the contents of each memory cell after
    the execution of the program?
  • Memory Cell 1010 0000 0111
  • Memory Cell 1011
  • 0000 0011
  • Memory Cell 11000000 1000

Program LOD 12 MUL 10 STO 10 ADD 11 STO
12 ADD 10 STO 11 HLT
30
All-play
  • Create a PIPPIN program that will sum the
    contents of memory cells 4,5, and 6, triple that
    value, and store the answer in cell 7.
  • LOD 4ADD 5ADD 6MUL 3STO 7HLT
Write a Comment
User Comments (0)
About PowerShow.com