Introduction to Programming NT1420 Unit 1 Assignment 1: Homework Short answer questions and answers: 1) Why is the CPU the most important component in a computer? The CPU is the part of the computer that actually runs the program. 2) What number does a bit that is turned on represent? What number does a bit that is turned off represent? A bit that is turned on represents the number 1.
A user has opened a word processor, typed the numbers 123456789, and stored the document as a file called report1. Which of the following determines, in part, what bits the computer stores in the file to represent the text typed into the report? Character set 7. A user has opened a calculator application, typed the numbers 123456789, and then done some math problem using this number. Which of the following determines, in part, what bits the computer stores in RAM to represent the number 123456789?
Daniel Bowden PT1420 Intro to Computer Programming 6/25/14 Unit 1 Research Assignment 1 Exploring Computer Languages A program does nothing more than tell the computer how to accept some type of input, manipulate that input, and spit it back out again in some form that humans find useful. Table 1 lists some common types of programs, the types of input that they accept, and the output that they produce. Machine language is a set of instructions executed directly by a computer's central processing unit (CPU). Each instruction performs a very specific task. Every program directly executed by a CPU is made up of a series of such instructions.
6. A user has opened a word processor, typed the numbers 123456789, and stored the document as a file called report1. Which of the following determines, in part, what bits the computer stores in the file to represent the text typed into the report? a. Keyboard map b. Pixel grid c. Character set d. The binary equivalent of decimal 123456789 7.
Name and describe the two parts that a module definition has in most languages. 3. When a module is executing, what happens when the end of the module is reached? The computer goes back to the module that called it. 4.
Unit 4 Homework PT 1420 Brian Clear 6 April 2014 Unit 4 Assignment 1: Homework Short Answer 1. How do modules help you to reuse code in a program? Modules allow the programmer to write an operation once and then be executed any time it is needed. 2. Name and describe the two parts that a module definition has in most languages.
The windows registry is a database that stores configuration settings and options for Microsoft Windows. It stores low-level operating system configuration options as well as settings for applications that use the registry for that purpose. What are the key requirements memory management should satisfy? Protection Sharing Relocation Organization What kind of memory addresses does a CPU generate? A CPU generates a logical memory address What kind of memory addresses does a MMU generate?
Christopher Benton NT1110 Unit 1 – Lab 1 6/20/2014 Von Neumann Computer Model Central processing unit Central Processing Unit Control Unit Logic Unit Input Device Output Device Memory Unit Central Processing Unit: the part of a computer that performs logical and arithmetical operations on the data as specified in the instructions Control Unit: a component of a computer's central processing unit (CPU) which directs operation of the processor Logic Unit: a digital circuit that performs integer arithmetic and logical operations Memory Unit: refers to the physical devices used to store programs (sequences of instructions) or data Input Device: any piece of computer hardware equipment used to provide data Output Device: Electronic equipment connected to
-Motherboard 6. What holds all the instructions the computer needs to start up when it is powered on?-ROM 7. Which of the following is NOT another name for a flash drive?- Solid-state drive 8. Width-to-height proportion of a monitor is its- aspect ratio 9. Which type of memory is considered volatile?- RAM 10.
Define Terms Computer: A programmable electronic device designed to accept data, perform prescribed mathematical and logical operations at high speed, and display the results of these operations. Mainframes, desktop and laptop computers, tablets, and smartphones are some of the different types of computers. Bit: A single digit of binary notation, represented either by 0 or by 1 binary numbers : A system of numerical notation to the base 2, in which each place of a number, expressed as 0 or 1, corresponds to a power of 2: Byte: The storage space in a memory or other storage device that is allocated to such a group of bits random-access memory(RAM): Random-access memory; computer memory available to the user for creating, loading, or running programs and for the temporary storage and manipulation of data, in which time of access to each item is independent of the storage sequence. As a storage medium, RAM is volatile, so its contents are lost when the power fails or is turned off. character set : the numbers, letters, punctuation marks, and special symbols that can be used by a particular device, as a printer, or in a coding method, as ASCII.