Infrastructure
/ /
Automation
/ /
Python
/ /
Automation
/ /
Programming
/ /
Exam Questions With Correct Answers
/ // // // //
What /
/command /
/can /
/be /
/used /
/to /
/install /
/most //packages //from //the //Python //Package //Index //(PyPI)? //- //CORRECT //ANSWERS(S)✔✔pip
Python //
3/
/is /
/already //installed //on //which //operating //system? //- //CORRECT //ANSWERS(S)✔✔Ubuntu //16.04
Which /
/of /
/these /
/are //valid //commands //that //you //can //use //with //pip? //- //CORRECT //ANSWERS(S)✔✔install //
list
, freeze
uninstall
Which //of //these //are //comparison //operators? //- //CORRECT //ANSWERS(S)✔✔!=
==
Complete //the //code //to //calculate //a //number's //exponent //value.
Code /
/Editor: /
/def /
/exp(x,y): /
/val //= //1 //for //i //in //range(y): //val //<missing //code> //return //val //- //CORRECT //ANSWERS(S)✔✔*= //x
Which /
/of //these //statements //defines //a //tuple //named //'t'? //- //CORRECT //ANSWERS(S)✔✔t //= //(1, //2, //3)
Which /
/of /
/these /
/is //
a/
/valid /
/hash /
/bang /
/that /
/will /
/help /
/the /
/program /
/loader /
/determine //which //interpreter //to //use? //- //CORRECT //ANSWERS(S)✔✔#!/usr/bin/env //python3