D411A ITSW 3170
Scripting & Automation
Objective Assessment (Qns & Ans)
2025
General Instructions
1. Read All Questions Carefully: Make sure you understand each question.
2. Time Management: You have a specific amount of time to complete the exam.
Keep an eye on the clock and pace yourself.
3. Allowed Materials: Only use materials that are explicitly allowed. Unauthorized
materials can lead to disqualification.
4. ANS Format: Follow the required format for your ANS. For example, multiple-
choice questions might need you to select the best ANS, while essay questions
require detailed responses.
5. Academic Integrity: Adhere to the university's honor code. Any form of cheating or
plagiarism is strictly prohibited.
6. Technical Requirements: Ensure your computer and internet connection are
stable. For online exams, you might need a webcam and microphone for proctoring
purposes.
7. Submission: Submit your ANS before the time expires. Late submissions might
not be accepted.
©2024/2025
,1. Which of the following best describes the primary goal of
scripting in automation?
- A. To manage daily business operations
- B. To automate repetitive tasks and improve efficiency
- C. To develop new software applications
- D. To conduct market research
- ANS: B
- Rationale: The primary goal of scripting in automation is to
automate repetitive tasks and improve efficiency, reducing
manual effort and minimizing errors.
2. What is the primary function of a shell script in automation?
- A. To manage network traffic
- B. To execute a series of commands in a Unix/Linux shell
- C. To encrypt data
- D. To conduct vulnerability assessments
- ANS: B
- Rationale: A shell script executes a series of commands in a
Unix/Linux shell, automating tasks and streamlining processes.
©2024/2025
, 3. Which of the following is a key feature of Python for scripting
and automation?
- A. Physical security
- B. Readability and simplicity
- C. Financial analysis
- D. Inventory management
- ANS: B
- Rationale: Readability and simplicity are key features of
Python, making it an ideal language for scripting and automation
due to its clear syntax and ease of use.
Fill-in-the-Blank Questions
4. The __________ command in Unix/Linux is used to change
file permissions.
- ANS: chmod
- Rationale: The `chmod` command in Unix/Linux is used to
change file permissions, allowing users to set read, write, and
execute permissions for files and directories.
5. In scripting, __________ refers to the process of finding and
fixing errors in code.
- ANS: debugging
©2024/2025
Scripting & Automation
Objective Assessment (Qns & Ans)
2025
General Instructions
1. Read All Questions Carefully: Make sure you understand each question.
2. Time Management: You have a specific amount of time to complete the exam.
Keep an eye on the clock and pace yourself.
3. Allowed Materials: Only use materials that are explicitly allowed. Unauthorized
materials can lead to disqualification.
4. ANS Format: Follow the required format for your ANS. For example, multiple-
choice questions might need you to select the best ANS, while essay questions
require detailed responses.
5. Academic Integrity: Adhere to the university's honor code. Any form of cheating or
plagiarism is strictly prohibited.
6. Technical Requirements: Ensure your computer and internet connection are
stable. For online exams, you might need a webcam and microphone for proctoring
purposes.
7. Submission: Submit your ANS before the time expires. Late submissions might
not be accepted.
©2024/2025
,1. Which of the following best describes the primary goal of
scripting in automation?
- A. To manage daily business operations
- B. To automate repetitive tasks and improve efficiency
- C. To develop new software applications
- D. To conduct market research
- ANS: B
- Rationale: The primary goal of scripting in automation is to
automate repetitive tasks and improve efficiency, reducing
manual effort and minimizing errors.
2. What is the primary function of a shell script in automation?
- A. To manage network traffic
- B. To execute a series of commands in a Unix/Linux shell
- C. To encrypt data
- D. To conduct vulnerability assessments
- ANS: B
- Rationale: A shell script executes a series of commands in a
Unix/Linux shell, automating tasks and streamlining processes.
©2024/2025
, 3. Which of the following is a key feature of Python for scripting
and automation?
- A. Physical security
- B. Readability and simplicity
- C. Financial analysis
- D. Inventory management
- ANS: B
- Rationale: Readability and simplicity are key features of
Python, making it an ideal language for scripting and automation
due to its clear syntax and ease of use.
Fill-in-the-Blank Questions
4. The __________ command in Unix/Linux is used to change
file permissions.
- ANS: chmod
- Rationale: The `chmod` command in Unix/Linux is used to
change file permissions, allowing users to set read, write, and
execute permissions for files and directories.
5. In scripting, __________ refers to the process of finding and
fixing errors in code.
- ANS: debugging
©2024/2025