Basic Batch Scripting Quiz - Gordon College

Basic Batch Scripting Quiz - Gordon College

University

22 Qs

quiz-placeholder

Similar activities

Operating System Quiz

Operating System Quiz

University

20 Qs

Digital Forensics

Digital Forensics

University

20 Qs

Prueba Diagnóstica PHP Básico

Prueba Diagnóstica PHP Básico

10th Grade - University

20 Qs

More on JavaScript

More on JavaScript

University

19 Qs

Komputer Dasar

Komputer Dasar

University

25 Qs

File Management

File Management

12th Grade - University

20 Qs

Cyber EOP - Ping and Traceroute By Mr. B

Cyber EOP - Ping and Traceroute By Mr. B

12th Grade - University

18 Qs

Basic Batch Scripting Quiz - Gordon College

Basic Batch Scripting Quiz - Gordon College

Assessment

Quiz

Computers

University

Medium

Created by

SEAN WICKER

Used 10+ times

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does @echo off do?

Disables output from "echo"

Turns off display

Command lines do not appear on the Command Prompt

Enables output from "echo"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

set /p VariableName= "Your answer is: "

What is "/p" used for?

Assigns input from user to a variable.

Assigns a static value to a variable.

It's a cheat for Counter Strike.

Gives you the answer for a math equation.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

echo %num1% + %num2% = ?

What do the % symbols do in the line above?

Divides the number by 10.

Displays the value of the variable in the command prompt.

They do nothing.

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

set __ "num1=5"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what does "ren" do?

Copie file/s.

Move file/s.

Rename file/s.

Shows your IP address.

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

How do I clear my screen on my command prompt?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

:quiz

cls

setlocal

set /a "num1=5"

set /a "num2=3"

set /a "correct=num1 + num2"

What does ":quiz" do?

Sets a block of code, "quiz" is only a variable name.

The Command Prompt gives you a quiz.

Displays text.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?