CSCE 206 (501-512) Structured programming in C 2011 Fall Exam 1 Question set A Name: ___________________________ UIN: ___________________________ TA: ________________________ CLASS: ______________________________ 1.ENIAC was the first general purpose, electronic, digital computer. T 2.FORTRAN, COBOL, and LISP are all high level programming languages. T 3.Interpreters translate and execute each program statement dynamically. T 4.C language is an assembly language. F 5.Assemblers convert program instructions from assembly language into machine language. T 6.Data, in computers, is stored in binary form, as a series of 0s, 1s, and 2s. F 7.Program Counter is a special memory location which contains the instruction currently being processed. F 8.When a program Fetch command is executed, it retrieves a copy of the program command from the address stored in the program counter, and then it proceeds to update the program counter to the address of the next instruction. T 9.The figure above shows a flowchart representation of an algorithm. F 10.The following two expressions are identical. T Variable %= Exp; Variable = Variable % Exp; 11.Defining the character ‘C’ and the single-character string “C” will produce the same result. F 12.In the process of performing a Modular Design for a given program, an example of one would start with the smallest parts and then proceed to larger parts. This type of process is known as Top – down Modular design. F 13.Parentheses are used to increase the precedence of the operations inside them. T
This preview has intentionally blurred sections.
Sign up to view the full version.