Quiz
Reviewer 3
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (64)
1Which of the following is NOT a scripting language?
- APython
- BHypertext Markup Language
- CPerl
- DJavascript
2Which of the following HTML code snippets includes properly nested tags
- A<p><em>Hello World!</em></p>
- B<em><p>Hello World!</p></em>
- C<em><p>Hello World!</em></p>
- D<em><p>Hello World!<p><em>
3Why is it important to compile code before executing it?
- ACompiling converts the source code into easy-to-read words to increase the code's readability
- BCompiling source code increases the size of the files, which improves efficiency
- CCompiling stacks the source code so that the CPU can process it correctly
- DCompiling converts the source the code into machine code for the CPU to process
4In Hypertext Markup Language (HTML), what does the <a> tag do?
- Athe <a> tag is the top level parent element that identifies the type of document
- Bthe <a> tag indicates that the content is a paragraph level block
- Cthe <a> tag indicates that the content links to another resource
- Dthe <a> tag indicates the main part of the content as a page to show to the client
5How is machine code, the language that all computers speak, presented?
- Ain the original programming language in which it was coded
- Bin a language that is easy for humans to read
- Cin tag pairs, including opening and closing tags
- Din binary format as 1s and 0s
6Which statement BEST describes batch files?
- Athey are used to open a file or directory within a command line
- Bthey are folders containing multiple related applications from the same publisher
- Cthey are a collection of command line instructions that you store in a .CMD file
- Dthey contain information regarding different command line functions and what they do
7In Hypertext Markup Language (HTML), what does the <p> tag do?
- Athe <p> tag is the top level parent element identifies the type of document
- Bthe <p> tag indicates that the content is a heading level
- Cthe <p> tag indicates the content is a paragraph level block
- Dthe <p> tag indicates that the content links to another resource
8How does assembly language work?
- AIt is used to compile machine code
- BIt represents machine code in human readable text
- CIt is used to compile human readable text
- DIt represents human readable text in machine code
9What is a program BEST describes as?
- AA mathematical equation utilizing compiles code to execute commands
- BA piece of software designed for business to streamline commonly used tasks
- CA sequence of instructions for your computer to perform
- DProprietary software to which the owner has exclusive rights
10What does a Java Virtual Machine (VM) do?
- AThe Java VM converts source code into cross platform compatible code for both mobile and personal computers
- BThe Java VM converts source code into machine code to run on the hardware platform
- CThe Java VM executes source code in the command line interface
- DThe Java VM converts source code into JavaScript to run with any browser
11How does a markup language, such as HTML, assist a program when rendering code?
- AMarkup language makes data in document accessible to a program through structured tags
- BMarkup language presents data in binary code for a browser to render at runtime
- CMarkup language utilizes semantic elements to increase efficiency for developers
- DMarkup language makes data in a document accessible to a program through numbered tags
12What does a programmer do?
- ACreates static web pages for informational purposes using only Hypertext Markup Language
- BDevelops file storage systems for enterprise networks
- CWorks with programming language(s) to write code for applications
- DWorks with real time databases in order to manage large quantities of data
13What does the acronym SQL stand for?
- AStructured Query Language
- BSeries Query Language
- CStandard Query Language
- DSecure Query Language
14Which objects is NOT utilized by Object-Oriented Programming (OOP)?
- AMethods
- BAttributes
- CProperties
- DCommands
15How do compilers and interpreters respond to comments in your code?
- AThey attempt to execute comments at runtime
- BThey ignore comments
- CThey display all comments at runtime
- DThey display all comments in a prompt window
16Which statement BEST defines a virtual machine?
- AIt is a cloud based machine that can only be accessed via Internet
- BIt is used to support and emulate virtual reality software to enhance graphics effects
- CIt is used to operate multiple operating systems and virtual computers on existing hardware
- DIt is defined as two operating systems running on one piece of hardware
17Which negative factor must be considered when developing with interpreted languages
- AThey operate a higher rate than other languages, which may result in overclocking your CPU
- BThey must be converted into machine code, therefore increasing runtime
- CThey tend to decrease the security of an application when compared to compiled languages
- DThey create large source files, which may impact the amount of storage required to execute the code
18Which of the following is NOT a comment line special delimiter?
- AApostrophe(')
- BDouble forward slash(//)
- CHash(#)
- DDollar($)
19In terms of coding, what does the acronym XML stands for?
- AeXtended Markup Language
- BeXtensible Markup Language
- CeXaggerated Markup Language
- DeXtra Markup Language
20Why is it important to write comments when coding a program?
- AIt helps the code render properly
- BIt is used to separate a web page visually into sections
- CIt helps the developer read and maintain the code
- DIt tells other developers what coding standard to implement for consistency
21How does pseudocode present comments to maintain revisions?
- AComments are preceded by the // character
- BComments are preceded by a special character syntax depending on the language being used
- CPseudocode does not present comments for maintaining revisions
- DComments are preceded by the * character
22Which of the following is NOT considered platform dependent?
- APASCAL
- BJavaScript
- CC#
- DCOBOL
23Which of the following is NOT important to consider when choosing a programming language?
- AWhat types of device your users will be using
- BHow experienced you are as a programmer
- CHow large the source file size will be after compiling the program
- DWhat type of program you are writing
24What is the key difference, in programming terms, between a procedure and a function?
- AA function can be only used one time by the program while processing
- BA function can return a value to whatever called it
- CA procedure can be used by the program for further processing
- DA procedure can return a value to whatever called it
25In Hypertext Markup Language (HTML), what does the <hl> tag do?
- AThe <hl> tag is the top level parent element identifies the type of document
- BThe <hl> tag indicates that the content links to another resource
- CThe <hl> tag indicates the content is a paragraph level block
- DThe <hl> tag indicates that the content is a heading level
26Query languages, such as Structured Query Language, are designed for what purpose?
- ATo retrieve specific records from a dataset
- BTo scrape web pages in order to collect information for further processing
- CTo automatically locate and render smaller data files before loading larger pieces of data
- DTo validate markup language files prior to executing them
27In Hypertext Markup Language (HTML), what does the <body> tag do?
- AThe <body> tag indicates the main part of the content as a page to show to the client
- BThe <body> tag indicates that the content is a paragraph level block
- CThe <body> tag indicates that the content is a heading level
- DThe <body> tag is the top level parent element that identifies the type of document
28What is the primary function of markup language tags?
- AThey are used to organize the code for optimal readability
- BThey identify what kind of content should be included within an element
- CThey tell a client application (such as a browser) how to structure the document
- DThey instruct the programmer where to add content for the document
29Most programming languages are similar in their structure and syntax but it is important to use the specific syntax of a given language. Why?
- ABy using specific syntax, the program runs at quicker speeds during execution
- BThe use of improper syntax may void any assistance from programming support representatives
- CUsing incorrect syntax creates error, causing the code not to compile or run
- DUsing proper syntax removes all security vulnerabilities
30Which statement BEST describes the overall purpose of Windows PowerShell?
- AIt can be used to apply formatting within an application such as Microsoft Word
- BIt enables you to perform management and administrative tasks in Windows 10 and Windows Server 2016 (and some earlier versions)
- CIt is used to control power settings and features through the Control Panel on a Windows operating system
- DIt is used to recognize directories through a Graphical User Interface
31What is the key difference between Java and JavaScript?
- AJavaScript is an object oriented programming language
- BJava is a programming language, whereas JavaScript is a scripting language
- CJava is an object based programming language
- DJava is a scripting language, whereas JavaScript is a programming language
32How is a script different than a program?
- AA script allow looping, whereas program does not
- BA script is generally smaller and targeted at completing a specific task
- CA script allows branching, whereas a program does not
- DA script is generally larger and is targeted at completing multiple tasks
33What is the primary purpose of the Windows PowerShell Integrated Scripting Environment (ISE)?
- ATo help create and manage your Windows PowerShell scripts
- BTo execute new programs manually without a script
- CTo create directories within the system's file management system
- DTo open anew programming document written in a language that needs to be compiled
34Which of the following is NOT a compiled programming language?
- ACSS
- BC#
- CC++
- DCOBOL
35What language does VBScript share similarities with?
- AJavaScript
- BPHP
- CC++
- DRuby
36In Hypertext Markup Language (HTML), what does the <html> tag do?
- AThe <html> tag indicates that the content is a paragraph level block
- BThe <html> tag indicates that the content is a heading level
- CThe <html> tag indicates the main part of the content as a page to show to the client
- DThe <html> tag is the top level parent element that identifies the type of document
37What programming language is VBScript based on?
- APerl
- BJava
- CVisual Basic
- DPython
38What purpose does branching in programming serve?
- AIt is the process of declaring variables for specific conditions to condense a program
- BIt uses only text strings to increase efficiency during program execution
- CIt controls flow within a program based on specific conditions
- DIt stacks conditions in order to streamline the program
39Which pseudocode creates a two dimensional array?
- Adeclare Logons(2) as string
- BLogons(0.1) = find LastLoggedOnUser and get Time
- Cdeclare Logons(9,1) as string
- DLogons(0,0) = find LastLoggedOnUser and get Forename
40What pseudocode populates the first row and first column?
- ALogons(0) = find LastLoggedOnUser and get Forename
- BLogons(0,0) = find LastLoggedOnUser and get Forename
- CLogons(0,1) = find LastLoggedOnUser and get Time
- Ddeclare Logons(9,1) as a string
41Your team is developing a program and would like to create a visual representation of how it works. Which type would be most helpful?
- AVenn Diagram
- BPie chart
- CFlowchart
- DPlanning report
42What would you use to instruct your computer to execute a different sequence of instructions?
- AA constant
- BLooping
- CBranching
- DA variable
43What is the primary purpose of a flow chart?
- AIt presents the placement of loops and variables
- BIt visualizes how a language is compiled
- CIt visualizes the way code is written
- DIt visualizes the graphical sequence of a program
44Which pseudocode populates the first row and second column?
- ALogons(0,0) = find LastLoggedOnUser and get Forename
- BLogons(0,1) = find LastLoggedOnUser and get Time
- Cdeclare Logons(9) as a string
- Ddeclare Logons(9,1) as string
45Which pseudocode defines a one-dimensional array allowing up to ten rows?
- Adeclare Logons(9,1) as string
- BLogons(0,0) = find LastLoggedOnUser and get Forename
- Cdeclare Logons(9) as string
- DLogons(0,1) = find LastLoggedOnUser and get Time
46What is the function of an IF conditional statement in code?
- AThe code can be only used when conditions are true
- BIf the programming team approves of the code, then the code can be released
- CAll of the code must execute when certain conditions are false
- DPart of the code only executes when certain conditions are true
47Which of the following is NOT an example of a function?
- ASum
- BPrompt
- CWhile
- DWrite
48When writing pseudocode, what are subroutines?
- ASubroutines are one time use blocks of code
- BSubroutines are blocks of code that act as the primary routine
- CSubroutines are blocks of code that repeat in a continuous loop during the execution of a program
- DSubroutines are blocks of code that represent duplicate tasks but have been defined separately
49A program has a piece of code that needs to be repeated over and over until the code has been fulfilled. What is this an example of?
- ABranching
- BLooping
- CA constant
- DA variable
50Which of the following best defines a container?
- AIt is an identifier that cannot be changed during program execution
- BIt is an identifier that can be changed during program execution
- CIt is a special type of identifier that can reference multiple values or elements
- DIt is code that tells the compiler to execute a different sequence of instructions
51Which of the following BEST defines the OR condition?
- AIf both conditions are TRUE, then the whole statement is TRUE
- BIf one of the conditions is TRUE based on its inverse value, then the whole statement is TRUE
- CIf either condition is TRUE, then the whole statement is TRUE
- DIf either, but not both, condition is TRUE, then the whole statement is TRUE
52What key role do functions play in both consistency and functionality?
- AThey create code that must be changed manually after each use
- BThey create segments that are designed for single use, increasing security
- CThey create code snippets that can be used as a template when creating new snippets
- DThey enable you to create segments of code that you will reuse
53Which is NOT a characteristic of a variable?
- AA variable can change during the execution of a program
- BThe value of a variable may be a text string, number, or other data type
- CA variable is a fixed value that does not change
- DDeclared variables are more common than undeclared variables
54Constant are best used in which situation?
- AWhen referencing a value that cannot be changed within a program
- BWhen using data validation to assure that values match
- CWhen determining the speed of program execution
- DWhen referencing a value that can be modified in a program
55Which of the following BEST describes the purpose of properties in object oriented programming?
- AThey enable the creation of segments of reusable code
- BThey allow external code to access a field of an object
- CThey are values and data types that define the object
- DThey define what another part of a program can do to an object
56Which of the following BEST defines the XOR condition?
- AIf one of the conditions is TRUE based on its inverse value, then the whole statement is TRUE
- BIf both conditions are TRUE, then the whole statement is TRUE
- CIf either, but not both, condition is TRUE, then the whole statement is TRUE
- DIf either condition is TRUE, then the whole statement is TRUE
57Which of the following BEST defines the AND condition?
- AIf either condition is TRUE, then the whole statement is TRUE
- BIf either condition is TRUE, but not both, then the whole statement is TRUE
- CIf both conditions are TRUE, then the whole statement is TRUE
- DIf both conditions are TRUE, and one is evaluated based on the inverse value, then the whole statement is TRUE
58During program execution, a value changes and returns a new value to be used. Which type of identifier is this?
- AA container
- BA constant
- CA variable
- DA vector
59Given the equation "-329 _ _ -2034" during a logical test, which of the following operators would result in a TRUE condition?
- A<=
- B>=
- C==
- D<
60While writing a program, you notice that you use a value multiple times throughout your program but it doesn't change. You decide to create an identifier and assign the unchanging value to that identifier. What did you just create?
- AA constant
- BAn array
- CAn operator
- DA variable
61Which of the following BEST describes the purpose of attributes?
- AThey enable you to create segments of code that you will reuse
- BThey are values and data types that define the object
- CThey define what you can do to an object
- DThey represent an alternative way of accessing a field of publicly
62In which situation would you use a vector?
- ATo allow room for more elements than is currently being used
- BTo limit the container to only one element
- CTo include a container that can grow or shrink in size as elements are added or removed
- DTo statically see the size of a container to add several elements
63Which of the following accurately describes arrays?
- AThey are neither single-dimensional nor multi-dimensional
- BThey are only single-dimensional
- CThey are only multi-dimensional
- DThey can be either single-dimensional or multi-dimensional
64Which of the following BEST describes the purpose of methods?
- AThey represent an alternative way of accessing a field publicly
- BThey are values and data types that define the object
- CThey enable you to create segments of code that you will reuse
- DThey define what you can do to an object
Information
- Description
- 2 COMPTIA Certification Exam Quiz on Reviewer 3, created by Lyra Jemella Salvacion on 22/11/2022.
- Author
- Lyra Jemella Salvacion
- Language
- English
- Views
- 2
- Tags
- Rating
- No ratings yet Rate this quiz