MCQOPTIONS
Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Testing Subject
General Aptitude
Logical and Verbal Reasoning
English Skills Ability
Technical Programming
Current Affairs
General Knowledge
Finance & Accounting
GATE (Mechanical Engineering)
Chemical Engineering
→
Technical Programming
→
C Programming
→
Which of the following is a possible outcome of th...
1.
Which of the following is a possible outcome of the function shown below? random.randrange(0,91,5)
A.
10
B.
18
C.
79
D.
95
Answer» B. 18
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What is the output of the following program?import stringimport stringLine1 = "And Then There Were None"Line2 = "Famous In Love"Line3 = "Famous Were The Kol And Klaus"Line4 = Line1 + Line2 + Line3print(string.find(Line1, 'Were'), string.count((Line4), 'And'))
What is the output of the following program?L = [1, 3, 5, 7, 9]print(L.pop(-3), end = ' ')print(L.remove(L[0]), end = ' ')print(L)
What is the output of the following program?from math import sqrtL1 = [x**2 for x in range(10)].pop()L1 + = 19print(sqrt(L1), end = " ")L1 = [x**2 for x in reversed(range(10))].pop()L1 + = 16print(int(sqrt(L1)))
What is the output of the following program:
What is the output of the following program :print '{0:-2%}'.format(1.0 / 3)
What is the output of the following program :print '{0:.2}'.format(1.0 / 3)
What is the output of the following code?def foo(k): k[0] = 1q = [0]foo(q)print(q)
What is the output of the following program? tday=datetime.date.today()print(tday.month())
What is the output of the following program?data = [x for x in range(5)]temp = [x for x in range(7) if x in data and x%2==0]print(temp)
What is the output of the following program?f = Nonefor i in range (5): with open("data.txt", "w") as f: if i > 2: breakprint(f.closed)
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies