4.1 Compare and Contrast programing language categories Flashcards

(31 cards)

1
Q

In Hypertext Markup Language (HTML), what does the <h1> tag do?
</h1>

A

The <h1> tag indicates that the content is a heading level.

</h1>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In Hypertext Markup Language (HTML), what does the tag do?

A

The tag indicates the main part of the content as a page to show to the client.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is a properly nested HTML tag?

A

<p><em>Hello World!</em></p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does pseudocode present comments to maintain revisions?

A

Comments are preceded by a special character syntax depending on the language being used.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In Hypertext Markup Language (HTML), what does the <p> tag do?
</p>

A

The <p> tag indicates the content is a paragraph-level block.
</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which negative factor must be considered when developing with interpreted languages?

A

They must be converted into machine code, therefore increasing runtime.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the key difference between Java and JavaScript?

A

Java is a programming language, whereas JavaScript is a scripting language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does assembly language work?

A

It represents machine code in human-readable text.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why is it important to compile code before executing it?

A

Compiling converts the source code into machine code for the CPU to process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In terms of coding, what does the acronym XML stand for?

A

eXtensible Markup Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is CCS

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What programming language is VBScript based on?

A

Visual Basic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Query languages, such as Structured Query Language, are designed for what purpose?

A

To retrieve specific records from a dataset

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In Hypertext Markup Language (HTML), what does the tag do?

A

The tag is the top-level parent element that identifies the type of document.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is NOT important to consider when choosing a programming language?

A

How large the source code file size will be after compiling the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does a markup language, such as HTML, assist a program when rendering code?

A

Markup language makes data in a document accessible to a program through structured tags.

17
Q

What is the key difference, in programming terms, between a procedure and a function?

A

a procedure and a function is that the latter can return a value to whatever called it, whereas a procedure cannot.

18
Q

What language does VBScript share similarities with?

19
Q

What statement BEST defines a virtual machine?

A

It is used to operate multiple operating systems and virtual computers on existing hardware.

20
Q

What is the primary purpose of the Windows PowerShell Integrated Scripting Environment (ISE)?

A

To help create and manage your Windows PowerShell scripts

21
Q

Which statement BEST describes batch files?

A

They are a collection of command-line instructions that you store in a .CMD file.

22
Q

What does the acronym SQL stand for?

A

Structured Query Language

23
Q

What is NOT considered platform dependent?

24
Q

What is a program BEST described as?

A

A sequence of instructions for your computer to perform

25
Which of the following uses proper HTML5 syntax?

Hello World

Say hello back to CompTIA!

26
Which object is NOT utilized by Object-Oriented Programming (OOP)?
Commands | Object-oriented programming languages use different "objects" that have attributes, methods, and properties.
27
What does a Java Virtual Machine (VM) do?
The Java VM converts source code into machine code to run on the hardware platform.
28
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.
29
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).
30
In Hypertext Markup Language (HTML), what does the tag do?
31
What is the primary function of markup language tags?
They tell a client application (such as a browser) how to structure the document.