
MOC10961-M7
Quiz
•
Computers
•
University
•
Medium

mohsin murtaza
Used 8+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a variable in PowerShell?
A) Use the & symbol followed by the variable name.
B) Use the $ symbol followed by the variable name.
C) Use the # symbol followed by the variable name.
D) Use the ? symbol followed by the variable name.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a type of variable in PowerShell?
A) String
B) Int32
C) Array
D) Bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you modify a hash table to add a new key-value pair?
A) Use $hashTable.Add("key", "value")
B) $hashTable["newKey"] = "newValue"
C) $hashTable.newKey("newValue"
D) None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What PowerShell cmdlet is used to identify properties and methods of a variable?
A) Get-Variable
B) Get-Command
C) Get-Help
D) Get-Member
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method allows for dynamic size change in collections in PowerShell?
A) Array
B) Hash table
C) ArrayList
D) Dictionary
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PowerShell variables are case sensitive.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In PowerShell, using the += operator with an array adds elements without recreating the array
True
False
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Authentication Quiz
Quiz
•
11th Grade - University
10 questions
Shell Programming Quiz ex.no 2
Quiz
•
University
10 questions
Array in C
Quiz
•
University
10 questions
searching quiz
Quiz
•
University
12 questions
BFM3002 - QUIZ 2
Quiz
•
University - Professi...
10 questions
exception
Quiz
•
University
15 questions
BLOCKCHAIN
Quiz
•
University
12 questions
Java quiz-2024-Sec-B
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University