Python3 - Programming-Final Assessment - INCOMPLETO

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 32

What is the output of min('Infinity')?

0 E
Y X
I E
f

a.difference(b)

Which statements accurately defines the bool class

While using Python IDLE, by how many space are the code suites
indented?
Empty dictionary is represented as ________.

When using the Python shell and code block, what triggers the
interpreter to begin evaluating block of code? Verificar
a = -10 if a: print("a's value") else: print("Sorry nothing will get
printed")

Byte datatype can


Ok
verificar

What is the output of the following code count = 0 while count < 2:
print (count, " is less than 2") count = count + 2 else: print (count, " is
not less than 2")

What is the output of the following code? for x in (1,10,100) print (x)
Which of these is Desktop

What command
verificar

What is the output of bool(0)? (Certo)


Which of these methods can be used with list objects, except ?

What will be output of below text. info1 = 'Infinity' info1.find('a')


Using Pop in list will remove the popped up item.

Dictionary could be

Which verificar

OK – a resposta certa é UBIQUITY


ok

ok

Byte datatype can contain only ______ and ______.


(Certo)
Code written
Ok

What is the output Ok

The defaut decode option ok – UNICODE

Which of these could be used in tuple object Ok


list[:] output would be printing the __________
1. list[:] output would be printing the __________
Complete list minus last element
Complete list minus first element E
complete list

What command is used to output text from both the Python shell and
within a Python module?

Values in
Ok
What characteristics
verificar

verificar
Which statement correctly assigns

The bool class is subset of ______.


Which of these
verificar

Which of the following


verificar
Which statements prevent the escape sequence interpretation?
verificar

Which methods can be used with list objects?

verificar
What is the output

verificar
In what format does the input function read the user input ?
Which statements accurately

verificar
What is the output of
Consider b is frozen set, what happen to b.add(3)?
verificar

Consider b is frozen set, what happen to … (Verificar)


Is x,y=5,6 verificar

All of these range types are correct except ___.

A=0

What is the output of bool(5) ?


Which is the fastest implementation of Python?

Which of these packages in python helps with scientific applications


of Python?

Which statement creates the bytes literal when run?


Empty list could be created with list() alone.

While using slicing in lists, list[0:2] is equivalent to ______.

a.difference(b) highlights the


Which statement accurately defines the bool class?
X Boolean Not returns False if the operand is True
Zero values are considered True always
E Boolean first returns False then the True value
Bool class is subclass of array class
Zero values are considered True some times.

Which of these is Desktop applications is created using Python?

Dictionary could be copied to another dictionary using which of following


syntax?
What is the output of below code snippet - for char in 'Welcome': print
(char, end='*') print()
What is the output of below code snippet – for char in (Certo)

Code written in Python 3 is backward compatible with Python 2.

Using Pop in list will remove the popped up item. (Resposta certa = True)

Which of the following attributes shows the characteristics of Python?


Python is everywhere (Webscripting, 3D Modelling , Games , and Desktop
applications ).
Values in bytearray should be integers between

What is the output of - list_pt = list('Welcome') print(list_pt)

Wich of these could be used in tuple object (Certo)


The default decode option available in the byte data type is
utf-16
E unicode
ascii
X utf-8

Is x,y=5,6 a valid statement? (Certo)8x

When using the Python shell and code block, what triggers the interpreter
to begin … (Verificar)

Which statements will result in slice of tuple? (Verificar)


Which statement correctly assigns X as an infinite number?

Python is Ubiquitous? Is this true or false?

a.symmetric_difference(b) highlights the ________.


What is the output of max('Infinity')? (Verificar)

Which of these could be used in tuple object (Verificar)

Which datatype is represented by int in Python 3?


The 2 main versions of Python include

The class which provides immutable sequence of elements

What characteristics describe the python programming language ?


list

What characteristics

Which statement correctly

The bool
Which of these is desktop

Which of the following will not result in declaring x as datatype of float?


Which action should be avoided so that you do not mistakenly
overwrite names that you have already defined?
Which statement

Consider
What is output

Which describes bytearrays

While using slicing

Which of these are salient features of Python, except?


While using 'bool', all zero values are considered as false and non- zero
values are considered as true. Is this correct?

Equivalent operation for function pow(x , y) is __.

Bitwise operators cannot be used on the float type

bytearray provides an mutable sequence (making it modifiable)


Python supports automatic garbage collection.
False
X True

What is the output of the following code?a = 0 if a: print(""a's value"")


else: print(""Sorry nothing will get printed"")
X Sorry nothing will get printed
a's value
0
Error

You might also like