1) Who developed Python language? a) Zim Den b) Guido van Rossum c) NieneStom d) Wick van Rossum 2) Which one of the below operator will perform floor division? a) // b) / c) % d) /% 3) Which character is used in Python to make a single line comment?1. a) a) /*...*/ b) a) # c) b) // d) ! 4) What is the output of the following code :print 9//2 a) 4.5 b) 4.0 c) 4 d) Error 5) (in and not in) belongs to which operator group? a) Bitwise Operators b) Membership Operators c) Identity Operators d) Logical Operators 6) What is the output of “hello”+1+2+3 ? a) hello123 b) hello c) Error d) hello6 7) Which of the following will give "Simon" as output? If str1="John,Simon,Aryan" a) print(str1[-7:-12]) b) bprint(str1[-11:-7]) c) print(str1[-11:-6]) d) print(str1[-7:-11]) 8) What will following Python code return? str1="Stack of books" print(len(str1)) a) 13 b) 14 c) 15 d) 16 9) Which of the following functions do you use to write data in the binary format? a) write b) output c) dump d) send 10) csv stands for a) common separated value b) Connection separated Value c) Comma separated value d) Content separated Value 11) What does the <readlines()> method returns? a) str b) a list of lines c) list of single characters d) list of integers 12) The operators that check if two values are located on the same part of the memory is called_______ a) Bitwise Operators b) Membership Operators c) Logical Operators d) Identity Operators 13) Which of the following control statement is NOT supported in python? a) if b) switch c) while d) for 14) Which quotes are generally used for represent the multiline string in python? a) single quotes b) double quotes c) multi quotes d) triple quotes 15) Which of the following python module contains the function that is used to return the current working directory? a) sys b) math c) os d) random
0%
Python - III B.sc D
공유
공유
공유
만든이
Venikaranp
콘텐츠 편집
인쇄
퍼가기
더보기
할당
순위표
더 보기
접기
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
게임쇼 퀴즈
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
로그인이 필요합니다
비주얼 스타일
글꼴
구독 필요
옵션
템플릿 전환하기
모두 표시
액티비티를 플레이할 때 더 많은 포맷이 나타납니다.
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?