Patulong po mga Python Masters
Nagcompile po ako ng questions na lumalabas sa online exam sa huawei. Baka pede po patulong para makapasa po sa OJT

Posible po magbigay ako reward kapag nakapasa po ako sa exam.
Eto po katuyan nagbibigay po ako rewards
https://phcorner.org/threads/registration-form-php-meron-prize-na-1k-load.986819/
I. True of False
1. In Python, static variables and static methods are instances.
2. In Python, multiple inheritance is supported during class.
3. When a function is called in Python, the immutable objects such as number and character are called by value.
4. In Python, a static method can be directly accessed and does not need to be called using CLASSNAME_STATIC_METHOD_NAME().
II. Multiple Choice
1. Assume that the statement print(6.3 – 5.9 == 0.4) is executed in the Python interpreter, and the result is False. Which of the following statements about the result is true?
a. The Boolean operation cannot be used for comparing floating-point numbers
b. It is caused by the priority of operators.
c. Python cannot exactly represent floating numbers.
d. In Python, the non-zero value is interpreted as False.
2. Which of the following is invalid in Python
a. x = y = z = 1
b. x = (y = z + 1)
c. x,y = y,x
d. x += y
3. Which of the following statements about strings is false?
a. Characters should be considered as a string of one character
b. A string with three single quotations (‘’’) can contain special character such as line feed and carriage return
c. A string ends with \0
d. A string can be created by using a single quotation mark (‘) or double quotation mark (‘’)
4. Which of the following is false?
a. (1)
b. (1,)
c. (1, 2)
d. (1, 2, (3, 4))
5. The syntax of string formatting is?
a. GNU\’s Not %s %%’ % ‘UNIX’
b. ‘GNU\’ Not %d %%’ % ‘UNIX’
c. GNU\’s Not %d %%’ % ‘UNIX’
d. ‘Gnu’s Not %d %%’ % ‘UNIX’
6. The result of invoking the following function is?
def basefunc(first):
def innerfunc(second):
return first ** second
return innterfunc
a. Base(2)(3) == 8
b. Base (2)(3) == 6
c. Base (3)(2) == 8
d. Base (3)(2) == 6
III. Multiple Answer (pede 1, 2, 3 or lahat tama)
1. About the single-underscored member proc, double-underscored __proc member, and __proc_ in Python, which of the following statement are true
a. From module import * can be directly used to import the single-underscored member _proc
b. From module import * cannot be directly used to import the double-underscored member __proc
c. In Python, the parser user _classname__proc to replace the double-underscore member __proc
d. In Python, proc is a specific indicator for magic methods
2. What are the difference between init and new in python?
a. init is an instance method, whereas new is a static method
b. No value is returned for init, whereas an instance is returned for new
c. new is called to create an instance, whereas init is called to initialize an instance
d. Only when new returns a cls instance, the subsequent init can be called
3. If data = (1, 3, 5, 7, 9, 11), which of the following operations are valid
a. data[1 : -1]
b. data[1 : 7]
c. list(data)
d. data * 3
4. If there is a = range(100), which of the following operations are valid
a. a[-1]
b. a[2 : 99]
c. a[ : -1 : 2]
d. a[5 - 7]

dejk