Showing 31–40 of 55 questions
Which of these is a NoSQL database?
A
MySQL
B
PostgreSQL
C
MongoDB
D
Oracle
Correct Answer:
C. MongoDB
Explanation:
MongoDB is a NoSQL database. MySQL, PostgreSQL, and Oracle are relational SQL databases
In CSS, what does the 'z-index' property control?
A
Font size
B
Text alignment
C
Stacking order of elements
D
Background color
Correct Answer:
C. Stacking order of elements
Explanation:
z-index controls the stacking order of overlapping elements on a webpage
What will be the output of: console.log(typeof 5) in JavaScript?
A
int
B
number
C
integer
D
numeric
Correct Answer:
B. number
Explanation:
The typeof operator returns 'number' for numeric values in JavaScript
A rope of length 30 meters is cut into 5 equal parts. How long is each piece?
A
5 meters
B
6 meters
C
7 meters
D
8 meters
Correct Answer:
B. 6 meters
Explanation:
30 meters / 5 = 6 meters per piece
If 30% of a number is 45, what is the number?
Explanation:
Let number = x. 30% of x = 45. 0.30x = 45. x = 45/0.30 = 150
A box contains 3 red balls and 2 blue balls. What is the probability of drawing a red ball?
Explanation:
Total balls = 5. Red balls = 3. Probability = 3/5
If a square has a side of 5 cm, what is its area?
A
10 cm²
B
20 cm²
C
25 cm²
D
30 cm²
Correct Answer:
C. 25 cm²
Explanation:
Area of square = side² = 5² = 25 cm²
What is 15% of 200?
Explanation:
15% of 200 = (15/100) × 200 = 0.15 × 200 = 30
Two numbers are in the ratio 3:4. If their sum is 70, what are the numbers?
A
30, 40
B
35, 35
C
20, 50
D
25, 45
Correct Answer:
A. 30, 40
Explanation:
Let numbers be 3x and 4x. 3x + 4x = 70. 7x = 70. x = 10. Numbers are 30 and 40
What is the GCD of 24 and 36?
Explanation:
Factors of 24: 1,2,3,4,6,8,12,24. Factors of 36: 1,2,3,4,6,9,12,18,36. GCD = 12