4.1 Compare and Contrast programing language categories Flashcards
In Hypertext Markup Language (HTML), what does the <h1> tag do?
</h1>
The <h1> tag indicates that the content is a heading level.
</h1>
In Hypertext Markup Language (HTML), what does the tag do?
The tag indicates the main part of the content as a page to show to the client.
what is a properly nested HTML tag?
<p><em>Hello World!</em></p>
How does pseudocode present comments to maintain revisions?
Comments are preceded by a special character syntax depending on the language being used.
In Hypertext Markup Language (HTML), what does the <p> tag do?
</p>
The <p> tag indicates the content is a paragraph-level block.
</p>
Which negative factor must be considered when developing with interpreted languages?
They must be converted into machine code, therefore increasing runtime.
What is the key difference between Java and JavaScript?
Java is a programming language, whereas JavaScript is a scripting language.
How does assembly language work?
It represents machine code in human-readable text.
Why is it important to compile code before executing it?
Compiling converts the source code into machine code for the CPU to process.
In terms of coding, what does the acronym XML stand for?
eXtensible Markup Language
What is CCS
CSS (Cascading Style Sheets) are utilized in front-end web page development to style HTML elements. They are neither compiled nor do they need to be converted to machine code.
What programming language is VBScript based on?
Visual Basic
Query languages, such as Structured Query Language, are designed for what purpose?
To retrieve specific records from a dataset
In Hypertext Markup Language (HTML), what does the tag do?
The tag is the top-level parent element that identifies the type of document.
What is NOT important to consider when choosing a programming language?
How large the source code file size will be after compiling the program
How does a markup language, such as HTML, assist a program when rendering code?
Markup language makes data in a document accessible to a program through structured tags.
What is the key difference, in programming terms, between a procedure and a function?
a procedure and a function is that the latter can return a value to whatever called it, whereas a procedure cannot.
What language does VBScript share similarities with?
JavaScript
What statement BEST defines a virtual machine?
It is used to operate multiple operating systems and virtual computers on existing hardware.
What is the primary purpose of the Windows PowerShell Integrated Scripting Environment (ISE)?
To help create and manage your Windows PowerShell scripts
Which statement BEST describes batch files?
They are a collection of command-line instructions that you store in a .CMD file.
What does the acronym SQL stand for?
Structured Query Language
What is NOT considered platform dependent?
JavaScript
What is a program BEST described as?
A sequence of instructions for your computer to perform
Which of the following uses proper HTML5 syntax?
<h1>Hello World</h1>
<p>Say hello back to <a>CompTIA</a>!</p>
Which object is NOT utilized by Object-Oriented Programming (OOP)?
Commands
Object-oriented programming languages use different “objects” that have attributes, methods, and properties.
What does a Java Virtual Machine (VM) do?
The Java VM converts source code into machine code to run on the hardware platform.
Most programming languages are similar in their structure and syntax, but it is important to use the specific syntax of a given language. Why?
Using incorrect syntax creates errors, causing the code not to compile or run.
Which statement BEST describes the overall purpose of Windows PowerShell?
It enables you to perform management and administrative tasks in Windows 10 and Windows Server 2016 (and some earlier versions).
In Hypertext Markup Language (HTML), what does the <a> tag do?
</a>
The <a> tag indicates that the content links to another resource.
</a>
What is the primary function of markup language tags?
They tell a client application (such as a browser) how to structure the
document.