subject
Computers and Technology, 22.02.2021 21:50 AM28

3. Observe the following program and answer the questions that follow: city= [ "DEL", "CHN", "KOL", "BOM", "BNG"]
for I in range(1.4):
Fly = random. randrange (0,2) + 1;
print( city[Fly).end=":")
(a) What is the minimum and maximum number of times the loop will execute?
(h) Find out, which line of output(s) out of (i) to (iv) will not be expected from the program?
#Output Options:
i. DEL: CHN: KOL: i. CHN: KOL: CHN:
iii. KOL: BOM : BNG: iv. KOL: CHN : KOL:​

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 15:20
An ou structure in your domain has one ou per department, and all the computer and user accounts are in their respective ous. you have configured several gpos defining computer and user policies and linked the gpos to the domain. a group of managers in the marketing department need different policies that differ from those of the rest of the marketing department users and computers, but you don't want to change the top-level ou structure. which of the following gpo processing features are you most likely to use? a, block inheritance b, gpo enforcement c, wmi filtering d, loopback processing
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
Companies that implement and apply an information system effectively can create
Answers: 1
question
Computers and Technology, 23.06.2019 18:40
How does is make you feel when you're kind to others? what are some opportunities in your life to be more kind to your friends and loved ones? imagine a world where kindness has be outlawed. how would people act differently? would your day-to-day life change significantly? why or why not?
Answers: 2
question
Computers and Technology, 24.06.2019 09:00
Technician a says that a new replacement part is always good. technician b says that sometimes recent repair work will be the cause of a complaint. who is correct? a. both technicians a and b b. technician a c. technician b d. neither technician a nor b
Answers: 3
You know the right answer?
3. Observe the following program and answer the questions that follow: city= [ "DEL", "CHN", "KOL",...
Questions
question
Mathematics, 11.12.2020 03:30
Questions on the website: 13722367