an error in a program that involves a violation of language rules will be detected at

an error in a program that involves a violation of language rules will be detected at


S
Asked by 1 year ago
9.9k points
a programming language allows usto express an algorithm
C, C++, Java are allprogramming languages
When a program runs on a computer, the part of the computer that carries out the instructions is called theCPU
When a program runs on a computer, it is stored inRAM
When a program is not running, it is storedon a disk
RAM, random-access memory, is called that becauseyou can pick any two random locations and it will take the same time to access the date
a bit isa binary digit like 0 or 1
A byte in memory is identified by a unique number called itsaddress
In modern computer systems, a byte consists of8 bits
3K means about 3 thousand bytes. How would you express two hundred million bytes?200M
3K means about 3 thousand bytes. How would you express five billion bytes?5G
3K means about 3 thousand bytes. How would you express four trillion bytes?4T
At each step of its operation, the input to a Central Processing Unit isan instruction
Mice, trackpads, keyboards, scanners, joysticks are all examples ofinput devices
Monitors, printers, status lights are all examples ofoutput devices
Flash drives, CDs, external disks are all examples ofstorage (memory) devices
An operating systemallocates resources like memory to programs that are running
application softwareis any software that runs with the support of an operating system
Every C++ program must contain amain function
A comment starts with what characters?// or /*
The text of a commentcan be anything the programmer wants to write
Which of the following will not be recognized if iostream is not included in the program?cout
The rules that govern the correct order and usage of the elements of a language are called thesyntax of the language
An error in a program that involves a violation of language rules will be detected atcompile time
Division by zero when the program is executing is an example of aruntime error
Compilers translate the instructions written by the programmer intoobject code
A location in memory used for storing data and given a name in a computer program is called avariable because the data in the location can be changed.
Before a variable is used it must bedeclared
Words that have a special meaning in a programming language are calledkeywords
identifiers cannot start withnumbers, special characters or capital letters
an error
studybud

Your Answer

Surround your text in *italics* or **bold**, to write a math equation use, for example, $x^2+2x+1=0$ or $$\beta^2-1=0$$

Use LaTeX to type formulas and markdown to format text. See example.

Sign up or Log in

  • Answer the question above my logging into the following networks
Sign in
Sign in
Sign in

Post as a guest

  • Your email will not be shared or posted anywhere on our site
  •  

Stats
Views: 51
Asked: 1 year ago

Related