Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
50 views4 pages

Fsd-Week-4 MCQ

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views4 pages

Fsd-Week-4 MCQ

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

FULLSTACK DEVELOPMENT [20CS52I]

WEEK-04
1. The correct sequence of HTML tags for starting a webpage is –
a. Head, Title, HTML, body
b. HTML, Body, Title, Head
c. HTML, Head, Title, Body
d. HTML, Head, Body, Title

2. How to insert an image in HTML?


a. <img href = "jtp.png" />
b. <img url = "jtp.png" />
c. <img link = "jtp.png" />
d. <img src = "jtp.png" />

3. In JavaScript the x===y statement implies that:


a. Both x and y are equal in value, type and reference address as well.
b. Both are x and y are equal in value only.
c. Both are equal in the value and data type.
d. Both are not same at all.

4. JSON stands for _______


a. JavaScript Object Notation
b. Java Object Notation
c. JavaScript Object Normalization
d. JavaScript Object-Oriented Notation

5. Which is the correct example of a JSON object with name, age, and city?
a. { "record":{"name":"Alex", "age":21, "city":"London"} }
b. { "record"={"name":"Alex", "age":21, "city":"London"} }
c. { "record":{"name":Alex, "age":21, "city":London} }
d. { record :{"name":"Alex", "age":21, "city":"London"} }

DEPARTMENT OF COMPUTERSCIENCE & ENGG.


FULLSTACK DEVELOPMENT [20CS52I]

6. The unordered collection of properties, each of which has a name and a value is called
a. String
b. Object
c. Serialized Object
d. Array

7. The keyword or the property that you use to refer to an object through which they were
invoked is _____
a. from
b. to
c. this
d. object

8. Properties defined by getters and setters are sometimes known as ………… to distinguish
them from data properties that have a simple value.
a. accessor properties
b. getters properties
c. setters properties
d. getters and setters properties

9. All JavaScript objects inherit properties and methods from a


a. Object
b. Constructor
c. Prototype
d. All of the above

10. Object …………………is the process of converting an object’s state to a string from which it
can later be restored.
a. Prototype
b. Class
c. Extensible
d. Serialization

DEPARTMENT OF COMPUTERSCIENCE & ENGG.


FULLSTACK DEVELOPMENT [20CS52I]

11. Which of the following variables takes precedence over the others if the names are the same?
a. Global variable
b. The local element
c. The two of the above
d. None of the above

12. In ES6 variables are declared by?


a. var
b. let
c. const
d. all of the above

13. Which of the following is a method of Sets in JavaScript?


a. add()
b. delete()
c. clear()
d. all of the above

14. With web storage, web applications can store data in?
a. locally within the user's browser.
b. Globally in server
c. both option1 and option2
d. None of the above

15. How many components typescript has?


a. 2
b. 3
c. 4
d. 5

DEPARTMENT OF COMPUTERSCIENCE & ENGG.


FULLSTACK DEVELOPMENT [20CS52I]

16. TypeScript is ?
a. case-sensitive
b. Case-insensitive
c. depends on typescript version
d. Cannot say

17. Which of the following is not a decision-making statement?


a. if
b. if... else
c. switch
d. do... while

18. Which of the following tag is used to define options in a drop-down selection list?
a. <select>
b. <list>
c. <dropdown>
d. <option>

19. In HTML5, which of the following tag is used to initialize the document type?
a. <Doctype HTML>
b. <\Doctype html>
c. <Doctype>
d. <!DOCTYPE html>

20. Which is the correct symbol to insert a comment in JSON?


a. //
b. /*…*/
c. <!-- … -->
d. JSON doesn't support the comments

DEPARTMENT OF COMPUTERSCIENCE & ENGG.

You might also like