Mastering Technology

I am passionate learner of emerging technologies. Here, I am striving to prepare newbies to have a grasp in solving interview questions of various companies.

Akshima Aggarwal


Mastering Technology

Which one of these expressions is NOT a tuple?

23 hours ago | [YT] | 0

Mastering Technology

What is the result of the following code?

def hi():
print('hi')
hi()
hi()

4 days ago | [YT] | 1

Mastering Technology

What is the value of t after running these statements?
t = [1, 2, 3]
t.pop(1)
t.append(2)
t.remove(3)

1 week ago | [YT] | 1

Mastering Technology

What is the output of the following code?

def func(first='Sushil',last='Gupta'):
print('The Name of the Person is',first ,last)

func('Naina')

1 week ago | [YT] | 2

Mastering Technology

What is the return value if we call this function with the value 6?

def cogn(x):
if x % 2 == 0:
return x // 2
else:
return x * 3 + 1

3 weeks ago | [YT] | 1

Mastering Technology

What is it called when you put working statements into a new function definition?

3 weeks ago | [YT] | 3

Mastering Technology

When you call a function, what are the values that appear in parentheses?

3 weeks ago | [YT] | 4

Mastering Technology

If a program runs without giving an error message, but it does not do the right thing, What kind of error is that?

4 weeks ago | [YT] | 6

Mastering Technology

Which statement can be used to run a line of code more than once?

4 weeks ago | [YT] | 8