Unit 1 Assignment 1 Programming Logic & Design

In: Computers and Technology

Submitted By nezsoamazing
Words 282
Pages 2
Unit 1 Assignment1: Homework


1) Why is the CPU the most important component in a computer?

The CPU is the most important component in a computer because without it, the computer could not run software.

2) What number does a bit that is turned on represent? What number does a bit that is turned off represent?

The number zero represents a bit that is turned off or has a negative charge.

The number one represents a bit that is turned on of has a positive charge.

3) What would you call a device that works with binary data?

Digital device is any device that works with binary data.

4) What are the words that make up a high-level programming language called?

The words that make up a high-level programming language are known as key words or reserved words.

5) What are the short words that are used in assembly language called?

Assembly language uses short words that are known as Mnemonics.

6) What is the difference between a compiler and an interpreter?

A compiler is a program that translates a high-level language program into a separate machine language program. An interpreter is a program that both translates and executes the instructions in high-level language program.

7) What type of software controls the internal operations of the computer’s hardware?

An operating system is the most fundamental set of programs on a computer which controls the internal operations of the computer’s hardware, manages all of the devices connected to the computer, allows data to be saved to and retrieved from storage devices, and allows other programs to run on the…...

Similar Documents

Unit 1 Assignment 1

...Unit 1 Assignment 1 1. Describe the role of software for computers: Computer software tells the hardware what to do. Without any software, the hardware would be worthless. Think of the software as a subject in school, and the hardware as you or your brain. Without any learning, you can't do anything. One you have learned some math, and then you are able to solve math problems. This learning is usually accomplished through downloads or CD's that are loaded into the computer. At the very basic level, computer software contains specific instructions for how to accomplish a specific task. These instructions tell the hardware exactly what to do, and how to do it 2. Identify the hardware associate with a computer: the physical components that make up a computer system. There are many different kinds of hardware that can be installed inside, and connected to the outside, of a computer. Here are some common individual computer hardware components that you'll often find inside a modern computer case: Motherboard, Central Processing Unit (CPU), Random Access Memory (RAM), Power Supply Video Card, Hard Drive (HDD), Solid-State Drive (SSD), Optical Drive (e.g. BD/DVD/CD drive) Card Reader (SD/SDHC, CF), etc. Here is some common hardware that you might find connected to the outside of a computer: Monitor, Keyboard, and Mouse 3. Describe how computer store data: it converts the request into binary digits and its stores the data in a database. As a table format. The binary data can......

Words: 324 - Pages: 2

Assignment 1: Logic Application

...Assignment 1: Logic Application Andy, Belle, Carol, and I are playing the game Guess Your Card. In the game, each person draws three cards without looking from a stack of cards containing contain multiple cards ranging in denomination from one to nine. Each person then places the cards on his or her forehead so that all of the other players can see the others’ cards, but cannot see their own. There is also a stack of questions that each person draws from in turn. These questions help the players deduct the identities of their own cards. We have shuffled the deck and each player has drawn three cards and placed them on their own forehead. Andy has drawn 1, 5, and 7; Belle has drawn 5, 4, and 7; and Carol has drawn 2, 4, and 6. Obviously I cannot see my own cards. Andy draws the first question, which asks, “Do you see two or more players whose cards sum to the same value?” To which he answers, “Yes.” Belle’s turn is next. Her card asks, “Of the five odd numbers, how many different ones do you see?” She responds, “All of them.” With these two questions, I am able to deduce which cards I have. After Andy drew the first question, “Do you see two or more players whose cards sum to the same value?” I added up Belle’s and Carol’s cards to see if theirs sum to the same total. Belle’s cards (5,4,7) add up to 16. Carol’s cards (2,4,6) add up to 12. Since Belle’s and Carol’s cards do not add up to the same amount, I can conclude that my cards add up to either 16 or 12. The next......

Words: 608 - Pages: 3

Assignment 1 Logic Applications

...Assignment 1: Logic Application I am playing “Guess Your Cards” with Andy, Belle, and Carol. Andy has drawn a 1, 5 and 7, Belle a 4, 5 and 7, and Carol a 2, 4 and 6. No one can see their own cards. Question cards are drawn and asked to help each player deduce what their own cards are. I believe deductive reasoning would be the logic used to solve this problem; you have the facts in front of you. The deck has only cards with the numbers 1 through 9 on them, you can see the cards already drawn and deduct, by the answers to the questions, exactly what cards you have. Let’s start with the first question. “Do you see two or more players whose cards sum to the same value?” Andy answers “yes”. Of the cards I can see, no two people have the same sum. I deduce that I must have the second set. Adding the cards of each person, I can see that Andy’s cards equal 13, Belle’s equal 16, and Carol’s equal 12. My set of cards must equal one of these. Second, “Of the five odd numbers, how many different odd numbers do you see?” Belle answers that she sees all of them. I can only see 1, 5, and 7. Therefore, I must have a 3 and a 9. These are the only two odd numbers that I cannot see. The statement that Andy knows what cards he has is totally irrelevant to the problem. It has absolutely no bearing on my logic or what cards I have. Knowing I have a 3 and a 9, I only have to figure out what my last card is. My 3 and 9 add up to 12, therefore, my sum cannot to be equal to Andy or Carol......

Words: 387 - Pages: 2

Programming Logic and Design Unit 4

...Unit 4 Programming Unit 4 Short Answers 1-7 1. How do modules help you to reuse code in a program? A. It reduces the duplication of code within a program by reusing the module that was written once. 2. Name and describe the two parts that a module definition has in most languages. A. Header and a body, header indicates starting point, and the body is a list of statements. 3. When a module is executing, what happens when the end of the module is reached? A. It’s executed and returned back to the point in main program where it was sidetracked from. 4. What is a local variable? What statement is able to access a local variable? A. A variable declared inside a local module, only statement within a module 5. In most languages, where does a local variable’s scope begin and end? A. Begins at the variables declaration within a module and ends at the end of the module in which the variable is declared. 6. What is the difference between passing an argument by value and passing it by reference? A. By value only a copy of the argument’s value is passed. By reference its passed into a special modification parameter. 7. Why do global variables make a program difficult to debug? A. Because global is used throughout all modules and hard to track. Algorithm Workbench Review 1, 5, 6, 7 1. Design a module named timesTen. The module should accept an Integer argument. When the module is called, it should display the......

Words: 1032 - Pages: 5

Unit 1 Research Assignment 1: Exploring Programming Language

...Unit 1 Research Assignment 1: Exploring Programming Language Structured Query Language (SQL) is a specialized language for updating, deleting, and requesting information from databases. SQL is an ANSI and ISO standard, and is the de facto database query language. A variety of established database products support SQL, including products from Oracle and Microsoft SQL Server. It is widely used in both industry and academia, often for enormous, complex datbases. (Base, 2013). SQL was developed in the 1970’s by IBM to initially manipulate and retrieve data in IBM system R. The SQL language was standardized in 1986 by the American National Standards Institute (ANSI); however, later releases were released as International Organization Standardization (ISO) standards. (Inc., 2013) Although IBM authored SQL, the first SQL implementation was provided by Oracle Corporation (then called Relational Software Inc.). Early commercial implementations were concentrated on midsized UNIX-based DBMSs, such as Oracle, Ingres, and Informix. IBM followed in 1981 with SQL/DS, the forerunner to DB2, which debuted in 1983. (Unknown, 2010) ANSI published the first SQL standard (SQL-86) in 1986. An international version of the standard issued by ISO appeared in 1987. A significant update to SQL-86 was released in 1989 (SQL-89). Virtually, all relational DBMSs that you encounter today support most of the 1986 standard. (Unknown, 2010) In 1992, the standard was revised again (SQL-92),......

Words: 803 - Pages: 4

Pt1420 Programming Unit 1 Research Assignment

...1970’s CLU is a programming language created at MIT by Barbara Liskov and her students between 1974 and 1975. It was notable for its use of constructors for abstract data types that included the code that operated on them, a key step in the direction of object-oriented programming (OOP). Euclid is an imperative programming language for writing verifiable programs. It was designed by Butler Lampson and associates at the Xerox PARC lab in the mid-1970s. The implementation was led by Ric Holt at the University of Toronto and James Cordy was the principal programmer for the first implementation of the compiler. It was originally designed for the Motorola 6809 microprocessor. Forth is an imperative stack-based computer programming language and programming environment. Language features include structured programming, reflection (the ability to modify the program structure during program execution), concatenative programming (functions are composed with juxtaposition) and extensibility (the programmer can create new commands). Although not an acronym, the language's name is sometimes spelled with all capital letters as FORTH, following the customary usage during its earlier years. Forth was designed by Charles H. Moore and appeared in the 1970’s. GRASS is the original version of GRASS was developed by Tom DeFanti for his 1974 Ohio State University Ph.D. thesis. It was developed on a PDP-11/45 driving a Vector General 3DR display, and as the name implies, this was a purely......

Words: 1885 - Pages: 8

Intro to Programming Unit 1 Research Assignment

...Unit 1 research assignment 1 1970’s 1) Pascal, Creator, Niklaus Wirth. The specific motivation behind this language was to encourage good programming practice using structured programming and data structuring. 2) SQL (Structured Query Language) designed by, Donald D. Chamberlin, and Raymond F. Boyce. The motivation behind this language was designed for managing data held in a relational database management system. ( RDBMS) 3) C, Designed by Dennis Ritchie. the motivation behind this language is structured programming and allows lexical variable scope and recursion. 4) Applesoft BASIC, developed by Marc McDonald, and Ric Weiland. The motivation with this language was it was designed to be backwards-compatible with integer BASIC and used the core of Microsoft’s 6502 BASIC implementation. 5) GRASS, Developed by Thomas A. DeFanti. GRASS is similar to BASIC in sytax, but added numerous instructions for specifying 2D object animation, including scaling, translation, rotation and color changes over time. 1980’s 1) BASICA, Designed by Thomas E. Kurtz. Designed to offer support for the graphics and sound hardware of the IBM PC line. 2) Turbo Pascal, developed by Borland, under Philippe Kahn’s leadership. This is a software development system that includes a compiler and an integrated development environment for the Pascal programming language. 3) C++, designed by Bjarne Stroustrup. This is a general purpose programming language that is......

Words: 677 - Pages: 3

Unit 1 Research Assignment 1: Exploring Programming Languages

...John Medina PT2520T Database Concepts Mr. Collier Unit 1 Research Assignment 1: Exploring Programming Languages History of the SQL – SQL was initially developed at IBM by Donald D. Chamberlain, Donald C. Messerly, and Raymond F. Boyce in the early 1970s. This version, initially called SEQUEL (Structured English Query Language) was designed to manipulate and retrieve data stored in IBM’s original quasi-relational database management system, System R, which a group at IBM San Jose Research Laboratory had developed during the 1970s. The acronym SEQUEL was later changed to SQL because “SEQUEL” was a trademark of the UK-based Hawker Siddely aircraft company. In the late 1970s, Relational Software Inc. (now Oracle Corporation) saw the potential of the concepts described by Codd, Chamberlain, and Boyce and developed their own SQL-based RDBMS with aspirations of selling it to the U.S. Navy, Central Intelligence Agency, and other U.S. government agencies. In June 1979, Relational Software Inc. introduced the first commercially available implementation of SQL, Oracle V2(Version 2) for VAX computers. After testing SQL at customer test sites to determine the usefulness and practicality of the system. IBM began developing commercial products based on their System R prototype including System/38, SQL/DS, and DB2, which were commercially available in 1979, 1981, and 1983 respectively. According to the paragraph above, there had to have been 4 revisions to the SQL. The most recent......

Words: 565 - Pages: 3

Unit 1 Assignment 1

...Unit 1: Assignment 1 1) At its simplest, a database can be seen as a collection of related data. 2) A delimited file is a file where the length of the file is limited. 3) A delimited file is one in which the data is separated by a character such as a comma. 4) All fixed length files are of the same length. 5) In relational databases, logical design is kept separate from physical design. 6) A hierarchical database is designed with a tree-like structure that resembles a file system. 7) Codd defined the core principles of a relational database in 1970. 8) Data redundancy improves the integrity of a database. 9) In a diagram, crows feet notation conveys more information about the relationships. 10) A primary key uniquely identifies each row in a database table. 11) In a relational database, all data is kept in tables, even the information about the tables. 12) SQL is the language used by relational databases to create objects and to manipulate and retrieve data. 13) An entity is someone who is interested in the database. 14) In a statement of scope, a constraint is a limit on what the database will do. 15) Oracle is a popular relational database management system. 16) A relational database management system does not include tools for backing up and restoring databases. 17) Documentation is not an important part of database development. 18) In a statement of work, the......

Words: 363 - Pages: 2

Unit 1 Research Assignment 1: Exploring Programming Languages

...Unit 1 Research Assignment 1: Exploring Programming Languages NT1420 In the late 1960’s Simula was invented by Nygaard and Dahl as a superset of Algol 60, this was the first language designed to support object-oriented programming. Then between 1969 and 1973 C was developed by Dennis Ritchie and Ken Thompson at Bell Labs. Smalltalk was created in the mid 1970’s that provided a complete ground-up design of an object-oriented language, and about the same time Prolog was designed in 1972 by Colmerauer, Roussel, and Kowalski, this was the first logic programming language. In 1973 Robin Milner built two polymorphic type systems (ML and Lisp) which were used in pioneering statically typed functional programming languages. Now going to the 80’s, Ada was created in 1983 by a team ran by Jean Ichbiah which was designed for built-in language support for explicit concurrency, offering tasks, synchronous message passing, protected objects, and non-determinism. Erlang was developed by Joe Armstrong in 1986 that supports hot swapping, so that code can be changed without stopping a system. In 1985 Eiffel was created as an ISO-standardized, object-oriented programming language designed by Bertrand Meyer. The program emphasizes declarative statements over procedural code and attempts to eliminate the need for bookkeeping instructions. TCL is a scripting language created by John Ousterhout in 1988 which is used for rapid prototyping, scripted applications, GUIs and testing. Perl was......

Words: 583 - Pages: 3

Programming Assignment 1

...ASSIGNMENT 1 COMP-202, Fall 2014, All Sections Due: September 19th , 2014 (23:59) Please read the entire pdf before starting. You must do this assignment individually and, unless otherwise specified, you must follow all the general instructions and regulations for assignments. Graders have the discretion to deduct up to 10% of the value of this assignment for deviations from the general instructions and regulations. These regulations are posted on the course website. Be sure to read them before starting. Question 1: Question 2: Question 3: 60 points 20 points 20 points 100 points total It is very important that you follow the directions as closely as possible. The directions, while perhaps tedious, are designed to make it as easy as possible for the TAs to mark the assignments by letting them run your assignment through automated tests. While these tests will not determine your entire grade, it will speed up the process significantly, which will allow the TAs to provide better feedback and not waste time on administrative details. Plus, if the TA is in a good mood while he or she is grading, then that increases the chance of them giving out partial marks. Marks can be removed if comments are missing, if the code is not well structured, or if your solution does not follow the assignment specifications. Assignment Question 1: Scratch Project (60 points) You are to head to http://scratch.mit.edu/ and create an account. Start by exploring some projects, and click on the......

Words: 1417 - Pages: 6

Unit 1 Assignment 1

...Homework Unit 1 Assignment 1 1. Why is the CPU the most important component in a computer? It’s the part of the computer that runs programs. 2. What number does a bit that is turned on represent? What number does a bit that is turned off represent? A turned on bit is 1 and a turned off bit is 0. 3. What would you call a device that works with binary data? A digital device 4. What are the words that make up a high-level programming language called? Key words or reserved words 5. What are the short words that are used in assembly language called? Mnemonics 6. What is the difference between a compiler and an interpreter? A compiler translates a high-lever program into a separate machine language program; whereas, an interpreter is a program that both translates AND executes instructions in a high-level program language program. 7. What type of software controls the internal operations of the computer’s hardware? Operating systems which is a type of system software. Unit 2 Assignment 1 Short Answer 1. What does a professional programmer usually do first to gain an understanding of a problem? Works with and interviews the customer to gain an understanding of what the customer wants the program to accomplish. 2. What is a pseudocode? A “fake” code that programmers use to test their programs before executing them. 3. Computer programs typically perform what three steps? A) Input is received B) Some process......

Words: 508 - Pages: 3

Unit 1 Assignment 1: Virtual Library: Competition Designs for Columbus, in

...Unit 1 Assignment 1: Virtual Library: Competition Designs for Columbus, IN Columbus, Ind., looks like any other small town, with its small shops and restaurants. But what sets this town apart is its architecture. The Modernist buildings — mostly geometric and made of glass and steel — are not immediately visible, interspersed as they are with old, 19th-century, gingerbread-like structures; but more than 60 public buildings in Columbus have been built by a veritable who's who of modern masters — I.M. Pei, Eero and Eliel Saarinen, Cesar Pelli, Richard Meier, Harry Weese, Robert Venturi and James Polshek, to name a few. In 1991, the American Institute of Architects rated Columbus sixth on its list of the top 10 American cities for architectural quality and innovation, right up there with Chicago, New York and San Francisco. That's pretty amazing for a town of just 44,000 residents. Six of the city's modern buildings have also been designated as national historic landmarks, and enough people travel from nearby towns and states — and even other countries — to see them that the local visitors center gives walking tours. Columbus is a city in and the county seat of Bartholomew County, Indiana, United States. Located approximately forty miles south of Indianapolis, on the east fork of the White River, it is the state's 20th largest city. It is also the principal city of the Columbus, Indiana, metropolitan statistical area which encompasses all of Bartholomew County. The land......

Words: 478 - Pages: 2

Unit 1 Assignment 1

...Miosha Vogt ET2560 Unit 1 Assignment 1 Chapter 1: Pg. 43 Quick- Check Exercise 1. Machine language 2. Operating System 3. Translation, Linking, Loading, Execution 4. Source 8. Software, Hardware 9. Variables 10. Secondary storage Pg. 44 Review Questions 3. Two secondary storage devices is a disk drive and flash drive Two input devices is the keyboard and mouse Two output devices is the monitor and printer 5. Syntax error is grammar error of a programming language. 6. The loader copies the executed file into memory and initiates execution of instructions. 7. Memory cells are a grouping of small units called bytes Bytes are the amount of storage required to store a single character, composed of even smaller unit called bits. Bits are binary digits 0-10. 8. Three high languages are Fortran, C, and Java FORTRAN used in scientific programming. C is used in system programming. Java supports web programming and programming Android applications. 9. Ram is volatile and it temporarily stores programs while their being executed, delete when computer is turned off, Rom is not volatile the data stored there will not disappear when the computer is turned off. 2. Write an algorithm in pseudo-code to solve the following problem: Input a temperature in Fahrenheit, and output the temperature in Celsius and Kelvin. Formulas needed are: C = ( 59 ) (F – 32). K= ( 59 ) (F – 32) + 273.15 Algorithm:......

Words: 458 - Pages: 2

Unit 1 Assignment 1

...Unit 1 Assignment 1 Exploring Programming Languages PT1420 Introduction to Programming Pong Sintaisong ITT-Tech Tempe Campus Instructor: Ms. Kate Eskesen 9/23/2015 5 Programming Languages 1970s-2000 1970s Pascal: Niklaus Wirth was is the invertor and was invented in 1971 Motivation: To provide features that were lacking in other languages at the time. Forth: Forth was created in 1970 by Charles H. Moore Motivation: He wanted to create a language that would allow direct user and machine interactions. C: In 1971-73 Dennis M. Ritchie turned the B language into the C language. Motivation: Lack of features from B language so made C language. Prolog: Alain Colmerauer in 1973. Motivation: Unknown ML: In 1973 ML was invented as part of the University of Edinburgh's LCF project Motivation: Research in constructing automated theorem provers. Eventually saw that the "Meta Language" they used for proving theorems was more generally useful as a programming language. 1980s C++: Bjarne Stroustrup was the inventor. 1979 Motivation: He needed the use of a programming language that was concise and that produced compact and speedy programs. MATLAB: First Fortran MATLAB was portable and could be compiled to run on many of the computers that were available in the late 1970s and early 1980s. Cleve Moler is the inventor. Motivation: This document for engineers developing models and generating code for embedded systems using Model-Based Design with MathWorks......

Words: 715 - Pages: 3

Maternidad y premamá | stella71 | Voice Changer - Funny sound effects Pro APK