Which of the following terms describe concepts related to breaking code into
smaller, repeatable sections? (Choose two.)
A. Functions
B. Variables
C. Containers
D. Methods
E. Objects Right Ans - Which of the following terms describe concepts
related to breaking code into smaller, repeatable sections? (Choose two.)
A. Functions
D. Methods
Which of the following numbers is written in hexadecimal format?
A.100101
B.3268
C.18AF
D.100101.11 Right Ans - Which of the following numbers is written in
hexadecimal format?
C. 18AF
Hexadecimal is also known as base 16. It uses the numbers 1 to 9 and letters A
to F.
Which of the following are examples of object-oriented programming
languages? (Choose two.)
A. Java
B. XML
C. Python
D. C
E. SQL Right Ans - Which of the following are examples of object-oriented
programming languages? (Choose two.)
A. Java
,C. Python
Which of the following statements is true regarding arrays and vectors?
A.Arrays contain one data type and are dynamic in length.Vectors can have
multiple data types and are fixed in length.
B.Arrays can have multiple data types and are fixed in length. Vectors have
one data type and are dynamic in length.
C.Arrays can have multiple data types and are dynamic in length. Vectors have
one data type and are fixed in length.
D.Arrays contain one data type and are fixed in length. Vectors can have
multiple data types and are dynamic in length. Right Ans - Which of the
following statements is true regarding arrays and vectors?
D. Arrays contain one data type and are fixed in length. Vectors can have
multiple data types and are dynamic in length.
Arrays and vectors are containers for data. An array can have only one data
type and is fixed in length. Vectors are more flexible, containing multiple data
types and being dynamic in length.
A developer needs to use a code designation for non-English letters. Which
notational system does the developer need to use?
A.ASCII
B.Unicode
C.International
D.Strings Right Ans - A developer needs to use a code designation for non-
English letters. Which notational system does the developer need to use?
B.Unicode
ASCII and Unicode are used for numerical representations of letters and
symbols. ASCII covers English letters and some symbols. For non-English, use
the superset of ASCII called Unicode.
Which of the following are examples of interpreted languages? (Choose two.)
A. Compiled
B. Query
C. Scripted
, D. Markup Right Ans - Which of the following are examples of interpreted
languages? (Choose two.)
C. Scripted
D. Markup
The three classes of interpreted languages are scripting, scripted, and markup
languages.
What type of high-level programming language is translated into machine
code once and then executed many times?
A.Compiled
B.Scripted
C.Scripting
D.Markup Right Ans - What type of high-level programming language is
translated into machine code once and then executed many times?
A.Compiled
Compiled language programs are compiled once and then executed as many
times as needed. Scripted, scripting, and markup languages are interpreted
languages, which are not compiled with a compiler.
A programmer wants to write code that directly accesses the computer's
hardware. Which is the best type of language for the programmer to use?
A.Complied
B.Query
C.Interpreted
D.Assembly Right Ans - A programmer wants to write code that directly
accesses the computer's hardware. Which is the best type of language for the
programmer to use?
D.Assembly
Assembly is the lowest-level programming language, and it is used when
developers want to access computer hardware directly.
Interpret the following logic. For data input on someone who is 20 years old,
which category will they fall into? if age < 13, then category "Child" else if age