CSE 3302 North Lake College Programming Languages Worksheet
Question Description
Questions:
1. Design a “Half Adder” circuit for two inputs A and B. Now, design a “Full Adder” circuit using previously designed half adders. [15 points]
2. What is an overflow? When does it occur? [6 points]
3. What is Random Access Memory? Why is this called so? [6 points]
4. What is “And-Or Latch”? Why is this called “latch”? [5 points]
5. What is a “register”? [3 points]
6. What is “multiplexer”? [3 points]
7. Explain fetch phase, decode phase, and execute phase in short. [12 points]
8. What is clock speed? What is overclocking and underclocking? [6 points]
9. Why is security important for Programming Language Design? [8 points]
10. What would be some of the design goals if you were to design a Programming Language? Explain your answer. [15 points]
11. What is “writability” of a programming language? [3 points]
12. What are the differences between primitive type and reference type in Java? [5 points]
13. What is “extra semicolon problem” in C++? [3 points]
14. What is “macro”? Write a piece of code using a macro. [7 points]
15. What is “dynamic typing” mechanism? [3 points]
16. Give an example of the following (do not use the examples from the slides or the book) : [15 points]
a. Inheiritance
b. Polymorphism
c. Abstract Data Type
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."