Batch Files: If Else Statements Video


Choose an answer and hit 'next'. You will receive your score and answers at the end.

question 1 of 3

How do you define an arithmetic variable in a batch file?

Create Your Account To Take This Quiz

As a member, you'll also get unlimited access to over 79,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-free
Try it risk-free for 30 days. Cancel anytime
Already registered? Log in here for access

1. What is an easy way to understand the use of IF in batch files?

2. What does the ELSE part of IF ELSE do?

Create your account to access this entire worksheet
A Premium account gives you access to all lesson, practice exams, quizzes & worksheets
Access to all video lessons
Quizzes, practice exams & worksheets
Certificate of Completion
Access to instructors
Create an account to get started Create Account

About This Quiz & Worksheet

Batch files can make organizing and programming easy, if you know about the various command statements. Use this short assessment to test your knowledge regarding IF ELSE statements.

Quiz & Worksheet Goals

Complete this assessment to test your understanding of:

  • How to define arithmetic variables in a batch file
  • Easy ways to understand the use of IF in batch files
  • What ELSE does in IF ELSE
  • How to find out if a file exists
  • What various commands do in a batch file

Skills Practiced

As you complete this assessment you will practice the following skills:

  • Interpreting information - verify that you can read information regarding IF ELSE statements
  • Making connections - use your understanding of batch files
  • Knowledge application - use your knowledge to answer questions about what various command statements will do in a batch file

Additional Learning

Reinforce your understanding of this topic by completing the lesson Batch Files: IF ELSE Statements. With this lesson you will review:

  • What a batch file is
  • What variables are in a batch file
  • Examples of how to use IF ELSE statements