1 / 8

NAME _________________ UIN __________________ 10/30/08

NAME _________________ UIN __________________ 10/30/08. Who is our hero? Why is this person our hero? The smallest element in a computer to hold data is the ______________ Base 10 has how many unique digits? Base 16 has how many unique digits? What are the Base 16 digits?

deliz
Download Presentation

NAME _________________ UIN __________________ 10/30/08

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NAME _________________ UIN __________________ 10/30/08 • Who is our hero? • Why is this person our hero? • The smallest element in a computer to hold data is the ______________ • Base 10 has how many unique digits? • Base 16 has how many unique digits? • What are the Base 16 digits? • A single hexadecimal digit contains 8 bits. YES NO • A computer does what you ________ it to do not what you ________ it to do. • Computers are machines. YES NO • It takes a byte to make up two hexadecimal digits. Y ES NO • What is the controlling entity of a computer: hardware of software (circle one) • The primary operations of a computer are: input – output – process YES NO

  2. Programs that tell a computer what to do are known as software YES NO A motherboard is part of the Central Processing Unit (CPU) YES NO ROM (Read-Only-memory) contains the code written by the computer programmer YES NO RAM (Random-Access-memory) contains the code written by the computer programmer YES NO Application software controls system resources YES NO The most important step in program development is to Outline the Solution YES NO All of the program development steps overlap YES NO The hardest task in program development is gathering the requirements YES NO Modularization is best used when the program is small and more controllable YES NO There are three tools the programmer has available: Sequence; Repetition; Decision YES NO Single and Dual IF statements are examples of the Loop structure YES NO

  3. An IF statement can only two ways out of the decision YES NO An IF statement must always have an ELSE keyword YES NO An IF statement without an ELSE is not allowed YES NO IF A > B THEN where A = 4 and B = 8 is this statement TRUE or FALSE IF A < 16 AND B > 22 THEN if A = 4 and B = 22 is the result TRUE or FALSE All logic problems can be solved by using the three structures: Sequence, Looping, Decision YES NO This is a sample of a Loop structure YES NO

  4. This is a Decision structure YES NO This is a Sequence structure YES NO This is a correct loop design YES NO

  5. This is a legal use of the decision structures YES NO Name the symbols

  6. A variable is a memory location where the contents can vary YES NO A variable can have a name for programming purposes YES NO A piece of data called a constant can be named and the data cannot be changed YES NO A literal is a named piece of data that is the data itself YES NO Local variables are obtainable from any program in any module YES NO An = sign is an Assignment Operator YES NO With an assignment, anything on the left side of the = sign is placed into the item on the right side YES NO A = B + C Where A = 5, B = 4, C = 3 When this is complete the value in A will be 7 YES NO + means addition YES NO / means division YES NO * means multiplication YES NO - means subtraction YES NO

  7. The Relational Operator = means “equal to” YES NO The Relational Operator < means “less than” YES NO The Relational Operator > means “greater than” YES NO The Relational Operator >= means “greater than or equal to” YES NO The Relational Operator <= means “less than or equal to” YES NO The Relational Operator <> means “not equal to” YES NO 54. This is a good IF statement YES NO IF A = 5 AND B = C THEN false path ELSE true path ENDIF 55. This is a good IF statement YES NO IF A = 5 AND B = C THEN true path ENDIF

  8. The program will not be converted to an executable if there is a syntax error YES NO If a logical error occurs, the program will run but the results will be incorrect YES NO Logical errors are more difficult to find than syntax errors YES NO 80% of computer programming is planning, not writing code YES NO Documentation is very important as it will help with future problems and enhancements YES NO

More Related