D278 Programming and Scripting
Questions with Solutions
1. What does a programmer do first to use an existing programming
library?: -
Include
the
library
2.
What relationship is common among a programming library's
functions?: -
Functions
all
relate
to
the
same
purpose.
3. What is an advantage of using a programming library?: The code has
already been
tested.
4. Which language is dynamically typed?:
Python
5. Which language is not built on object-oriented design principles?: C
6.
A language substantially supports a programmer creating items
like person, teacher, and students. Each item has internal data and
some operations.
Which characteristic describes that language?: Object-
oriented
7.
A programmer wants a compiler to report an error if an
integer variable is assigned with a string.
Which kind of language should the programmer use?:
Statically typed
8.
A language uses tags around text to indicate how that text should
be format- ted.
Which characteristic describes a language having such tags?: Markup
9.
What is a characteristic of a compiled language?: Converts to machine
language before running
10.
What is a characteristic of an interpreted language?: Runs easily on
ditterent kinds of
machines
11.
What
is
an
advantage
of
interpreted
programs?:
They can be modified at
run time.
12. Which characteristic specifically describes a markup language?: