stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Unit 4 Flashcards | StudBud
Explore
/
Unit 4
Unit 4
20 terms
·
StudBud Administration
·
49 plays
Imported from external platform
Flashcards
20 cards
F
Practice quiz
P
Host live
L
Questions
20
Answers
1
Which of the following terms describe concepts related to breaking code into smaller repeatable sections? Choose 2
Containers
Functions
Variables
Methods
2
You have created an array that can hold 15 integers. You want to add a 16th integer. Which is the best approach?
Create a separate variable for the 16th integer
Add it to the existing array
Create a vector and replace the array with it
Convert the integers to floats and add the 16th integer
3
A developer needs to use a code designation for non-English letters. Which notational style should the developer use?
UNICODE
International
Strings
ASCII
4
You want to understand the sequence of a program, from start to finish. Which of the following is the best use?
Flowchart
Function
Object
Pseudocode
5
What type of high-level programming language is translated into machine code once and then executed many times?
Scripted
Scripting
Compiled
Markup
6
A programmer wants to write code that directly accesses the computer's hardware. Which is the best language to use?
Assembly
Query
Compiled
Interpreted
7
A program shows the number 11010.11. Which data type is this?
Binary
Float
Boolean
Integer
8
Interpret the following logic. For data input on someone who is 20 years old, which category will they fall into?
Senior
Teen
Adult
Child
9
In object-oriented programming, which of the following are integral parts of objects? Choose 2.
Properties
Arrays
Attributes
Variables
10
Flowcharts depict which one of the following?
Objects
Programs
Identifiers
Functions
11
Which of the following statements are true regarding arrays and vectors? Choose 2
Arrays contain one data type and are fixed in length
Vectors have one data type and are fixed in length
Vectors can have multiple data types and are dynamic in length
Arrays contain multiple data types and are fixed in length
12
Interpret the following logic. A law agency indicates that there are ten threats. What should the threat level be?
Red
Yellow
Green
Orange
13
Which of the following programming language types is the lowest-level language?
Query
Compiled
Interpreted
Assembly
14
Which of the following are examples of object-oriented programming languages? Choose 2.
XML
Python
C
Java
15
Which of the following are examples of interpreted languages? Choose 2
Query
Scripted
Markup
Compiled
16
Which of the following numbers in written in hexadecimal format?
18AF
100101
100101.11
3268
17
What type of programming language is designed to retrieve data from a database?
Query
Interpreted
Compiled
Assembly
18
A programmer is writing a program that needs the input of a name. What type of variable should be created?
Char
String
Float
Unicode
19
Which of the following is an example of a markup langauge?
SQL
XML
Python
Java
20
Looping logic makes use of which of the following statements?
loop
while
if
when