4.1 Programming Language Categories Flashcards

1
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
2
Q

Why is it important to write comments when coding a program?

A

It helps the developer read and maintain the code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
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
5
Q

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

A

The <body> 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
6
Q

How do compilers and interpreters respond to comments in your code?

A

They ignore comments.

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

What does the acronym SQL stand for?

A

Structured Query Language.

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

What is a program BEST described as?

A

A sequence of instructions for your computer to perform.

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

Which statement BEST describes the overall purpose of Windows PowerShell?

A

It enables you to perform management and administrative tasks in Windows 10 and Windows Server 2016 (and some earlier versions).

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

Which of the following HTML code snippets include properly nested tags?

A

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

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

What is the primary function of markup language tags?

A

They tell a client application (Such as a browser) how to structure the document.

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

Which of the following is NOT a comment line special delimiter?

A

Dollar ($)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
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
14
Q

What language does VBScript share similarities with?

A

JavaScript

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

Which statement BEST defines a virtual machine?

A

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

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

Which object is NOT utilized by Object-Oriented Programming (OOP)?

17
Q

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

A

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

18
Q

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

A

A function can return a value to whatever called it.

19
Q

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

A

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

20
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.

21
Q

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

A

To help create and manage your Windows PowerShell scripts.

22
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.

23
Q

Which of the following is NOT a compiled programming language?

24
Q

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

A

The <a> tag indicates that the content links to another resource.</a>

25
How is a scrip different than a program?
A script is generally smaller and targeted at completing a specific task.
26
In Hypertext Markup Language (HTML), what does the

tag do?

The

tag indicates the content is a paragraph-level block.

27
Which statement BEST describes batch files?
They are a collection of command-line instructions that your store in a .CMD file.
28
Which negative factor must be considered when developing with interpreted languages?
They must be converted into machine code, therefore increasing runtime.
29
How does pseudocode present comments to maintain revisions?
Comments are preceded by a special character syntax depending on the language being used.
30
What does a Java Virtual Machine (VM) do?
The Java VM converts code into machine code to run on the hardware platform.
31
In terms of coding, what does the acronym XML stand for?
eXtensible Markup Language.
32
What is the key difference between Java and JavaScript?
Java is a programming language, whereas JavaScript is a scripting language.
33
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.
34
Which of the following is NOT considered platform dependent?
JavaScript
35
Which of the following is NOT a scripting language?
Hypertext Markup Language
36
What does a programmer do?
Works with programming language(s) to write code for applications.
37
How is machine code, the language that all computers speak, presented?
In binary format as 1s and 0s