1) What is Transversing a tuple ? a) Transversing a tuple means each element of a tuple. This can be done by using either for or a while loop. b) Transversing a tuple means inverting the tuple c) Transversing a tuple means to translocate the tuple 2) What is the use of Slicing? a) Slicing is used to retrieve a subset of values. b) Slicing is used to divide the tuple into different parts c) Slicing is used to lick a Cake 3) What are the unlike lists of tuples that are not supported:-? a) append(),extend(),remove(),insert(),and pop() b) insert(),boolean not,count(),think() c) any(),count(),lons(),tan(),cons() 4) What tuples work well with several built-in methods? a) lons(),count(),any(),min() and max() b) insert(),cons(),count(),tan() c) print(),exert(),input(),exit() 5) What does count() tuple do ? a) This function is used to count the occurrences of any item in the tuple b) This function is used to add new element is added to the end of the list c) This function is used to return True if any of the elements of a given iterable( List, Dictionary, Tuple, set, etc) are True else it returns False 6) What is a tuple in Python? a) An immutable sequence of values that can be of any type, and they are indexed by an integer. b) The commands to decode a bug c) The integers to add dupers in a program 7) Tuples can be used as keys in Python dictionaries.True or False a) True b) False c) N\A 8) How many else clauses can be added to a try.....except block? a) Only one b) Two c) Infinite d) Eight 9) How many except clauses can be included in a Try block? a) Any number of except clauses(infinite) b) Only two c) 4+ d) 0 10) What type of error will be produced when you type a) Name error b) Syntax error c) Runtime error 11) What are logic gates ? a) A gate is a circuit that takes one or more inputs and generates an output. Logic gates use the binary operators 'AND','OR' & 'NOT' b) A gate to add\remove the logic from the program c) A gate in which there is no logic
0%
Python for class 10
Bendrinti
Bendrinti
Bendrinti
prie
Aaradyasengupta860
Redaguoti turinį
Spausdinti
Įterpti
Daugiau
Užduotis
Lyderių lentelė
Rodyti daugiau
Rodyti mažiau
Ši lyderių lentelė šiuo metu yra privati. Spustelėkite
Bendrinti
, kad ji būtų vieša.
Ši lyderių lentelė buvo išjungta išteklių savininko.
Ši lyderių lentelė yra išjungta, nes jūsų parinktys skiriasi nuo nustatytų išteklių savininko.
Grąžinti parinktis
Viktorina
yra neterminuotas šablonas. Jis negeneruoja rezultatų lyedrių lentelei.
Reikia prisijungti
Vizualinis stilius
Šriftai
Būtina prenumerata
Parinktys
Pakeisti šabloną
Rodyti viską
Pradėjus veiklą bus rodoma daugiau formatų.
Atviri rezultatai
Kopijuoti nuorodą
QR kodas
Naikinti
Atkurti automatiškai įrašytą:
?