1.1

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Internally, the CPU consists of the and the ___ _

-the control unit -the ALU (arithmetic and logic unit)

What is the difference between a syntax error and a logical error?

A syntax error is an error in the source code of a program. ... A logic error (or logical error) is a 'bug' or mistake in a program's source code that results in incorrect or unexpected behaviour. It is a type of runtime error that may simply produce the wrong output or may cause a program to crash while running.

Both main memory and secondary storage are types of memory. Describe the difference between the two.

Both main memory and secondary storage are types of memory. Describe the difference between the two. Main memory/RAM, is volatile, its contents are erased when power is removed from the computer. Secondary memory, such as a disk, does not lose its contents when power is removed from the computer.

The job of the is to fetch instructions, carry out the operations commanded by the instructions, and produce some outcome or resultant information.

CPU

A(n) is an example of a secondary storage device.

External harddrive, USP, disk

Why is it easier to write a program in a high-level language than in machine language?

Programmers write in high-level languages because they are easier to understand and are less complex than machine code. They allow the programmer to focus on what needs to be done, rather than on how the computer actually works.

What is the difference between system software and application software?

System software is meant to manage the system resources. It serves as the platform to run application software. Application software helps perform a specific set of functions for which they have been designed. ... Application software is user specific and it is not needed to run the system on the whole.

Explain the difference between an object file and an executable file.

The main difference between object file and executable file is that an object file is a file generated after compiling the source code while an executable file is a file generated after linking a set of object files together using a linker. C is a general-purpose, high-level programming language.

Why must programs written in a high-level language be translated into machine language before they can be run?

Why must programs written in a high - level language be translated into machine language before they can be run? Because a computer's CPU can only understand Machine Language. Once the Linker has finished, it becomes an executable file. ... mistakes that cause the program to produce erroneous results.

A variable must be before it can be used in a program.

defined

A(n) is a diagram that graphically illustrates the structure of a program

hierarchy chart

____languages are close to the level of humans in terms of readability.

high

____ is information a program gathers from the outside world

input

A program is a set of ___ _

instructions

Words that have special meaning in a programming language are called ___ _

key words

__languages are close to the level of the computer

low

__is the only language computers really process.

machine

What type of software controls the internal operations of the computer's hardware?

operating system System software controls a computer's internal functioning, chiefly through an operating system, and also controls such peripherals as monitors, printers, and storage devices.

The two general categories of software are and ___ _

operating sytems​, application systems

____ arc characters or symbols that perform operations on one or more operands.

operator

is information a program sends to the outside world.

output

A program's ability to run on several different types of computer systems is called

portability

Since computers can't be programmed in natural human language, algorithms must be written in a(n) language.

prgramming

The three primary activities of a program are

processing, input, output

Computers can do many different jobs because they can be ___ _

programmed

Words or names defined by the programmer are called ___ _

programmer defined identifier

characters or symbols mark the beginning or end of programming statements, or separate items in a list.

punctuation

The rules rhar must be followed when constructing a program are called ___ _

syntax

A(n) is a named storage location.

variables


Kaugnay na mga set ng pag-aaral

Property and Casualty Insurance Test Question Notes

View Set

CM 1011 midterm-LSU, CM 1011 Midterm - LSU

View Set