-
Which of the following is a high-level programming language?
- A) Assembly
- B) C
- C) Python ✓
- D) Machine Language
-
Which of the following is an example of a front-end programming language?
- A) PHP
- B) Java
- C) HTML ✓
- D) SQL
-
Which of the following is used to store data in a programming language?
- A) Variables ✓
- B) Arrays ✓
- C) Loops
- D) Conditionals
-
Which statement will print 'The joy of computing'?
- A) print(The joy of computing)
- B) print The joy of computing
- C) printf('The joy of computing')
- D) print('The joy of computing') ✓
-
What should be the value of
_
to print all numbers from 0-10? ![[Pasted image 20231029092657.jpg]]- A) 10
- B) 9
- C) 11 ✓
- D) None of the above
-
Which of the following keyword is used to declare a function in a programming language?
- A) def ✓
- B) var
- C) int
- D) float
-
What will be the output of the following code? ![[Pasted image 20231029092749.jpg]]
- A) 0
- B) 45 ✓
- C) 43
- D) 50
-
What value will
c
store in it after the execution of the below code? c = b ** 3- A) Cube of b ✓
- B) Value of b multiplied by 3
- C) Value of b multiplied with 3 twice
- D) It will throw an error
-
What will be the output? Suppose the input is 30. ![[Pasted image 20231029092924.jpg]]
- A) 60
- B) Error
- C) 3030 ✓
- D) 30
-
What is the output for the following program? ![[Pasted image 20231029092942.jpg]]
- A) True
- B) False ✓
- C) It will display an error message
- D) Boolean