Hardware is the collection of physical devices that

This preview shows page 1 - 4 out of 8 pages.

We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Java Programming
The document you are viewing contains questions related to this textbook.
Chapter 1 / Exercise 1
Java Programming
Farrell
Expert Verified
Hardware is the collection of physical devices that comprise a computer system.
We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
Java Programming
The document you are viewing contains questions related to this textbook.
Chapter 1 / Exercise 1
Java Programming
Farrell
Expert Verified
4/24/2016 Programming Logic and Design: Introductory, 6e 2/8 Software consists of the programs that tell the computer what to do. Programs are sets of instructions for a computer. Programming is the act of developing and writing programs. Application software comprises all the programs you apply to a task. System software comprises the programs that you use to manage your computer. Input describes the entry of data items into computer memory using hardware devices such as keyboards and mice. Data items include all the text, numbers, and other information processed by a computer. Processing data items may involve organizing them, checking them for accuracy, or performing mathematical operations on them. The central processing unit , or CPU , is the hardware component that processes data. Output describes the operation of retrieving information from memory and sending it to a device, such as a monitor or printer, so people can view, interpret, and work with the results. Storage devices are types of hardware equipment, such as disks, that hold information for later retrieval. Programming languages , such as Visual Basic, C#, C++, Java, or COBOL, are used to write programs. Program code is the set of instructions a programmer writes in a programming language. Coding the program is the act of writing programming language instructions. The syntax of a language is its grammar rules. Computer memory is the temporary, internal storage within a computer. Volatile describes storage whose contents are lost when power is lost. Nonvolatile describes storage whose contents are retained when power is lost. Random access memory (RAM) is temporary, internal computer storage. Machine language is a computer's on/off circuitry language. A compiler or interpreter translates a high­level language into machine language and tells you if you have used a programming language incorrectly. Binary language is represented using a series of 0s and 1s. Source code is the statements a programmer writes in a programming language. Object code is translated machine language. To run or execute a program is to carry out its instructions.
4/24/2016 Programming Logic and Design: Introductory, 6e 3/8 Scripting languages (also called scripting programming languages or script languages ) such as Python, Lua, Perl, and PHP are used to write programs that are typed directly from a keyboard. Scripting languages are stored as text rather than as binary executable files. A logical error occurs when incorrect instructions are performed, or when instructions are performed in the wrong order. You develop the logic of the computer program when you give instructions to the computer in a specific sequence, without omitting any instructions or adding extraneous instructions.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture