Save
CS
Programming languages
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Amisha
Visit profile
Subdecks (1)
How interpreters and compliers differ in how they translate
CS > Programming languages
2 cards
Cards (28)
What language did early computers use for programming?
Machine code
View source
What was the purpose of developing more sophisticated programming systems?
To
make
programming
easier
and
more
efficient
View source
What are assembly languages classified as?
Second generation languages
View source
How do high-level languages differ from low-level languages?
They are more
productive
and easier to use
View source
What does the CPU understand?
Machine code
View source
What does each instruction in machine code perform?
A
specific
task
View source
In early computers, how were all programs written?
In
machine code
View source
What format were instructions written in for early computers?
Binary
View source
What was a challenge of writing programs in machine code?
It was
difficult
and
time-consuming
View source
Why is it difficult to remember machine code bit patterns?
They are complex and
numerous
View source
What are the two parts of nearly all machine code instructions?
Opcode
and
operand
View source
What do gnomic codes allow programmers to do?
Write
instructions
in a more understandable format
View source
What type of language is assembly language classified as?
Low-level language
View source
What must assembly language be before execution?
Translated into
machine code
View source
What are the advantages of low-level languages?
Close control of the
CPU
and efficiency
View source
What are the disadvantages of low-level languages?
Difficult to
read
, write, and
debug
View source
What do high-level languages resemble?
Natural language
or
mathematics
View source
What constructs do high-level languages include?
Selection
and
iteration
constructs
View source
What types of data structures do high-level languages support?
Arrays
and
records
View source
How does a single statement in high-level languages translate?
Usually into several
machine codes
View source
What does a compiler do?
Converts the whole code into
machine code
View source
How does an interpreter work?
Converts code one
instruction
at a time
View source
What are the advantages of high-level languages?
Easier to
write
,
read
, and
maintain
View source
What is a characteristic of high-level programming languages?
They resemble
natural language
View source
What is a disadvantage of high-level languages?
They have to be
translated
View source
How do translated high-level programs compare to low-level programs?
They are
comparatively
slower
View source
See all 28 cards