4.8, 4.9 Flashcards

1
Q

What is Floating point math ?

A

A value that contains a decimal number.

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

What is text also known as ?

A

A string

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

Can mathematical computations be performed on a string ?

A

No. They are not numerical in value.

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

What are boolean Values ?

A

True or false values.

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

What is a reserved word ?

A

A word in the scripting language that cannot
be used as a variable.

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

What are the two basic loops ?

A

For loops and while loops.

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

Whats the difference between a for loop and a while loop

A

For Loop - defined beginning and end.
While Loop - Continues to loop until a condition is met or the programme is exited.

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

What is the file extension for Windows Batch Script ?

A

.bat or .cmd (more common)

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

Where are batch scripts commonly used today ?

A

Command prompt. (Saved to a file)

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

What port does RDP communicate over ?

A

TCP 3389

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

What RDP client is built into Windows ?

A

The Remote Desktop Connection client

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

What level are scripting languages considered ?

A

High

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

Which environment variable is not inherited?

A

A program variable is the least significant and not inherited.

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

Which statement will load a PowerShell variable xvar with a value of 2?

A

$xvar = 2

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

Which scripting language allows for the use of the Component Object Model (COM)?

A

VBScript language allows for the use of the Component Object Model (COM).

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

What must be done before a Bash script can be executed?

A

Chmod

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

Which statement will load a JavaScript variable mvar with a value of 8?

A

mvar = 8;

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

Which scripting language has its own preinstalled Integrated Scripting Environment (ISE)?

A

Powershell

19
Q

How do you comment within javascript ?

A

//comment

20
Q

Which Microsoft remote protocol allows for local drives to be presented to the remote system?

A

RDP

21
Q

Which tool is used for screen sharing?
A. RDP
B. MSRA
C. SSH
D. Telnet

A

The built-in Microsoft Remote Access (MSRA).
The rest are protocols.

22
Q

Telnet port

A

TCP 23

23
Q

Which of the following is the least important piece of information to record about each device for proper asset inventory?
Make
Model
Serial number
Operating system

A

OS

24
Q

At what point are costs and effects of the methods of implementation reviewed ?

A

Prior to formal approval

25
Q

What is the process called that ensures all configuration changes are beneficial?

A

Change management

26
Q

How is the warranty status of a device determined?

A

Serial number.

27
Q

What type of structure is “For Next” in scripting?

A

Loop

28
Q

”#!/bin/bash” is the first line in a file. Based on this, what type of file extension should this script use?

A

.sh

29
Q

What utility is started with MSTSC.EXE?

A

RDP

30
Q

Which open-source remote access tools allows users to connect to their desktop remotely, see what is on their screen, and control it with their mouse and keyboard?

A

VNC (virtual network computing) is a remote access tool and protocol.

31
Q

What are Visual basic scripts used for ?

A

Windows application scripting.

32
Q

An employee uses an option to ask for help from a technician with an invitation file protected by a passcode. What is this option?

A

(MRA) Microsoft Remote Assistance (MSRA).

33
Q

How do you add comments in the command prompt ?

A

Rem

34
Q

Which scripting language itself interprets commands for scripting, similar to the windows DOS shell?

A

Bash

35
Q

SSH port ?

A

TCP 22

36
Q

DNS port

A

53

37
Q

HTTP and HTTPS port ?

A

TCP 80 & 443

38
Q

mstsc

A

Microsoft Terminal Services Client

39
Q

What is mstsc and what does it do ?

A

Microsoft Terminal Services Client Command that opens rdp session.

40
Q

What must be done before a bash script can be executed ?

A

Chmod permissions must be set.

41
Q

Where is the condition met for a “while” and “do while” loop ?

A

While = beginning
Do while = end.

42
Q

What method do we use to secure HTTP ?

A

SSL

43
Q

FTP port ?

A

TCP 21 passive mode
TCP 20 & 21 active mode

44
Q

SMTP & SMTPS port ?

A

TCP 25 and 587