wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Coding and Logic (Mitchell)

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What must you use at the start a a PowerShell script when writing a variable

a)

*

b)

$

c)

name-

d)

write-

2.

Get-Process does what in PowerShell?

a)

Allows you to edit processes

b)

Shows a list of all processes

c)

Closes all processes

d)

Does nothing (Invalid)

3.

How do you get an output when scripting in PowerShell

a)

Output-Get

b)

Get-Output

c)

Read-Host

d)

Write-Host

4.

What does -le represent in scripting?

a)

Greater than

b)

Equal

c)

Less than

d)

Less than or equal to

5.

What does the Man command in Linux equal to in PowerShell

a)

Get-Help

b)

Help

c)

?

d)

Help?

6.

How do you make a batch file in Windows?

a)

Make a txt document and save it as normal

b)

Save a script in to Power Shell

c)

Add .bat at the end of a txt document

d)

Add .script at the end of a txt document

7.

What is a batch file?

a)

A collection, or list, of commands

b)

A linux process

c)

A batch of files

d)

A word document

8.

What file extension does PowerShell have?

a)

SSL

b)

SSH

c)

PSH

d)

.PS1

9.

Default Port of HTTP?

a)

443

b)

80

c)

123

d)

88

10.

What does CSS stand for?

a)

Coding Stylist Sheets

b)

Coding Style Sheets

c)

Cascading Stylist Sheets

d)

Cascading Style Sheets