A penetration tester is checking a script to determine why some basic math errors are persisting. The expected result was the program outputting `True`. Given the output from the console above, which of the following explains how to correct the errors in the script? (Choose two.)

QuestionsCategory: PT0-001A penetration tester is checking a script to determine why some basic math errors are persisting. The expected result was the program outputting `True`. Given the output from the console above, which of the following explains how to correct the errors in the script? (Choose two.)
Admin Staff asked 6 months ago
A penetration tester is checking a script to determine why some basic math errors are persisting. The expected result was the program outputting `True`.
 Image
Given the output from the console above, which of the following explains how to correct the errors in the script? (Choose two.)

A. Change 'fi' to 'Endlf'.

B. Remove the 'let' in front of 'dest=5+5'.

C. Change the '=' to '-eq'.

D. Change 'source' and 'dest' to ג€$sourceג€ and ג€$destג€.

E. Change 'else' to 'elif'.






 

Suggested Answer: BD

Community Answer: CD



This question is in PT0-001 CompTIA PenTest+ Exam
For getting CompTIA PenTest+ Certificate



Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by CompTIA. 
Trademarks, certification & product names are used for reference only and belong to CompTIA.
The website does not contain actual questions and answers from CompTIA's Certification Exams.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.