MCQOPTIONS
Bookmark
Saved Bookmarks
→
Technical Programming
→
C Programming in Technical Programming
→
Which one of the following is not attributes of fi..
1.
Which one of the following is not attributes of file
A.
closed
B.
softspace
C.
rename
D.
mode
Answer» D. mode
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