Coding Mcq’s
10.4K subscribers
3 photos
1 file
6 links
Do join for coding McQ’s‼️

All types of Programming Questions, Answer & Mcq's 🧠👨‍💻
Download Telegram
Which Java keyword is used to create a subclass of a class?
Anonymous Quiz
16%
A) super
57%
B) extends
9%
C) implement
17%
D) subclass
5🤷‍♂2
Which collection in Java stores elements in key-value pairs?
Anonymous Quiz
32%
A) ArrayList
18%
B) HashSet
35%
C) HashMap
16%
D) LinkedList
Which of the following access modifiers restricts access to the same package and subclasses in Java?
Anonymous Quiz
13%
A) public
45%
B) private
27%
C) protected
15%
D) default (package-private)
👍2❤‍🔥1
What SQL statement is used to update data in a database?
Anonymous Quiz
6%
A) SELECT
14%
B) MODIFY
80%
C) UPDATE
1%
D) CHANGE
👍2
In SQL, which keyword is used to retrieve data from two or more tables with a related column?
Anonymous Quiz
66%
A) JOIN
12%
B) CONNECT
15%
C) MERGE
7%
D) COMBINE
👍1
Which SQL clause is used to filter the results of a SELECT statement?
Anonymous Quiz
55%
A) WHERE
18%
B) FROM
21%
C) SELECT
6%
D) HAVING
👍2❤‍🔥1🤣1
Which SQL command is used to retrieve all the records from a table?
Anonymous Quiz
66%
A) SELECT
24%
B) FETCH
6%
C) LOAD
4%
D) READ
👍5❤‍🔥1🤷‍♂1🕊1
What SQL statement is used to insert data into a database?
Anonymous Quiz
8%
A) ADD
85%
B) INSERT
5%
C) UPDATE
2%
D) CREATE
5👍4
What SQL statement is used to modify existing data in a database?
Anonymous Quiz
33%
A) ALTER
30%
B) MODIFY
35%
C) UPDATE
1%
D) CHANGE
👍18
Which SQL keyword is used to retrieve only unique values?
Anonymous Quiz
45%
a) DISTINCT
49%
b) UNIQUE
4%
c) DIFFERENT
2%
d) DISTINCTROW
👍43❤‍🔥2🤷‍♂1🕊1
Which of the following is a valid way to declare a variable in JavaScript?
Anonymous Quiz
13%
a) variable x;
50%
b) var x;
12%
c) x = variable;
25%
d) let x;
🤷14❤‍🔥9👍3
What is the correct way to include an external JavaScript file named "script.js" in an HTML document?
Anonymous Quiz
52%
a) <script src="script.js">
23%
b) <script href="script.js">
12%
c) <script link="script.js">
14%
d) <link src="script.js">
2👍2
🫡9🔥3👍1