Advanced Internet Technology Quiz

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Rahul
R
Rahul
Community Contributor
Quizzes Created: 1 | Total Attempts: 184
Questions: 20 | Attempts: 184

SettingsSettingsSettings
Advanced Internet Technology Quiz - Quiz


Questions and Answers
  • 1. 

     JSON stands for ?

    • A.

      JavaScript Object Notation

    • B.

      Java Object Notation

    • C.

      JSON Object Notation

    • D.

      None Of The Above

    Correct Answer
    A. JavaScript Object Notation
    Explanation
    JSON stands for JavaScript Object Notation. It is a lightweight data interchange format that is easy for humans to read and write, and easy for machines to parse and generate. It is often used to transmit data between a server and a web application, as an alternative to XML. JSON is based on a subset of the JavaScript Programming Language, and it is language-independent, meaning it can be used with any programming language. JSON is widely used in web development and is supported by most modern programming languages and frameworks.

    Rate this question:

  • 2. 

    JSON values cannot be one of the following data types.?

    • A.

      Function

    • B.

      Undefined

    • C.

      Date

    • D.

      All of the above

    Correct Answer
    D. All of the above
    Explanation
    JSON values cannot be one of the following data types: Function, Undefined, or Date. JSON is a lightweight data interchange format that is based on a subset of JavaScript syntax. It is used to represent data in a structured format, and it supports a limited set of data types such as strings, numbers, booleans, arrays, and objects. However, it does not support functions, undefined values, or dates as standalone values. Therefore, the correct answer is "All of the above" because all three options (Function, Undefined, and Date) are not valid JSON values.

    Rate this question:

  • 3. 

    The file type for JSON files is ?

    • A.

      .json

    • B.

      .js

    Correct Answer
    A. .json
    Explanation
    The file type for JSON files is ".json" because JSON (JavaScript Object Notation) is a lightweight data interchange format that is commonly used to store and transmit data between a server and a web application. The ".json" file extension is used to indicate that a file contains data in JSON format, allowing programs and systems to recognize and process the data accordingly.

    Rate this question:

  • 4. 

       The order of json object is always preserved?  

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The order of a JSON object is always preserved because JSON is a data interchange format that follows a specific syntax. According to the JSON specification, the order of the elements in an object is significant and should be preserved. This means that when a JSON object is serialized or deserialized, the order of the key-value pairs will remain the same. Therefore, the statement "The order of JSON object is always preserved" is true.

    Rate this question:

  • 5. 

    Why must one use JSON over XML ?

    • A.

      XML data is typeless while JSON objects are typed

    • B.

      Data is readily available as JSON object is in your JavaScript

    • C.

      It is faster and lighter than XML as on the wire data format

    • D.

      All of the above

    Correct Answer
    D. All of the above
    Explanation
    JSON is preferred over XML for several reasons. Firstly, JSON objects are typed, meaning they provide information about the type of data being stored, while XML data is typeless. This allows for easier and more accurate data manipulation and processing. Additionally, JSON data is readily available in JavaScript, making it easier to work with in web development. Lastly, JSON is faster and lighter than XML as a data format, making it more efficient for transmitting data over the internet. Therefore, all of the given reasons make JSON a better choice over XML.

    Rate this question:

  • 6. 

    From the following what are/is the uses of JSON? ?

    • A.

      JSON can be used with modern programming language

    • B.

      JSON can be used with object oriented programming language

    • C.

      JSON can be used with procedure oriecnted programming language

    • D.

      All of the Above

    Correct Answer
    D. All of the Above
    Explanation
    JSON (JavaScript Object Notation) is a lightweight data interchange format that is widely used in modern programming languages. It can be used with any modern programming language, including both object-oriented and procedure-oriented programming languages. JSON provides a simple and flexible way to represent and exchange data between different systems. Therefore, the correct answer is "All of the Above" as JSON can be used with any modern programming language, regardless of its programming paradigm.

    Rate this question:

  • 7. 

    From the following which is/are the JSON files type ?

    • A.

      MIME type for JSON text is application/json

    • B.

      JSON file type for JSON files is .json

    • C.

      Both of the above

    • D.

      None of the above

    Correct Answer
    C. Both of the above
    Explanation
    The correct answer is "Both of the above" because both statements are true. The MIME type for JSON text is indeed application/json, and the file type for JSON files is .json.

    Rate this question:

  • 8. 

    From the following which data types are supported by JSON ? ?

    • A.

      Number,String

    • B.

      Boolean,Array

    • C.

      Object,null

    • D.

      All of the above

    Correct Answer
    D. All of the above
    Explanation
    JSON (JavaScript Object Notation) is a lightweight data interchange format that is widely used for transmitting data between a server and a web application. JSON supports various data types, including Number, String, Boolean, Array, Object, and null. Therefore, the correct answer is "All of the above" as all the mentioned data types are supported by JSON.

    Rate this question:

  • 9. 

    From the following JSON strings have to be in ?

    • A.

      Double quotes

    • B.

      Single quotes

    • C.

      Both of the above

    • D.

      None of the above

    Correct Answer
    A. Double quotes
    Explanation
    In JSON, strings must be enclosed in double quotes. Single quotes are not valid for representing strings in JSON. Therefore, the correct answer is "Double quotes".

    Rate this question:

  • 10. 

    From the following which of the following is not JSON type? ?

    • A.

      Date

    • B.

      Array

    • C.

      Object

    • D.

      None of the above

    Correct Answer
    C. Object
    Explanation
    The correct answer is "Object." JSON (JavaScript Object Notation) is a lightweight data-interchange format that is used to transmit data between a server and a web application. JSON supports various data types such as strings, numbers, booleans, arrays, and objects. However, "Object" is not a JSON type because it refers to a specific data structure rather than a data type itself.

    Rate this question:

  • 11. 

    From the following which of the following number formats are not used in JSON??

    • A.

      Octal, Hexadecimal

    • B.

      Octal , Binary

    • C.

      Octal , Gate

    • D.

      Binary , Hexadecimal

    Correct Answer
    A. Octal, Hexadecimal
    Explanation
    JSON (JavaScript Object Notation) is a lightweight data interchange format that is used to transmit data between a server and a web application. JSON does not support octal or hexadecimal number formats. In JSON, numbers are represented in decimal format only. Therefore, Octal and Hexadecimal number formats are not used in JSON.

    Rate this question:

  • 12. 

    From the following what does JSONP stand for ?

    • A.

      Json parsing

    • B.

      Json padding

    • C.

      Json procedures

    • D.

      Json programming

    Correct Answer
    B. Json padding
    Explanation
    JSONP stands for JSON padding. JSON padding is a technique used to overcome the same-origin policy restriction in web browsers. It allows a web page to request and load data from a different domain by dynamically adding a tag to the HTML document. The response from the server is wrapped in a callback function, which enables the client-side JavaScript to access and use the data. This technique is commonly used in cross-domain AJAX requests.

    Rate this question:

  • 13. 

    In JSON does the white space matters ?

    • A.

      Only within strings.

    • B.

      Only outside of strings.

    • C.

      Both inside and outside of strings

    • D.

      None of the above

    Correct Answer
    A. Only within strings.
    Explanation
    In JSON, white space only matters within strings. This means that any white space characters (such as spaces, tabs, or line breaks) within a string value will be considered part of the string itself. However, white space outside of strings, such as between key-value pairs or before or after the JSON object, does not affect the interpretation of the data.

    Rate this question:

  • 14. 

    Does JSON support Unicode characters??

    • A.

      Yes

    • B.

      No

    Correct Answer
    A. Yes
    Explanation
    JSON does support Unicode characters. Unicode is a standard that represents characters from almost all writing systems in the world. JSON allows the encoding and decoding of Unicode characters, making it possible to include and transmit data in various languages and scripts. This enables the representation of a wide range of characters and symbols in JSON data.

    Rate this question:

  • 15. 

    From the following which function will convert a JavaScript object to a JSON string .?

    • A.

      JSON.toString()

    • B.

      JSON.serialize()

    • C.

      JSON.stringify()

    • D.

      JSON.text()

    Correct Answer
    C. JSON.stringify()
    Explanation
    The correct answer is JSON.stringify(). This function is used to convert a JavaScript object into a JSON string. It takes the object as a parameter and returns a string representation of the object in JSON format. This is useful when data needs to be sent to a server or stored in a file, as JSON is a widely supported format for data interchange.

    Rate this question:

  • 16. 

    Json elements are separated by using which of the following ?

    • A.

      Comma

    • B.

      White space

    • C.

      Line break

    • D.

      Semi-colon

    Correct Answer
    A. Comma
    Explanation
    JSON elements are separated by using commas. This is because commas are used to separate different elements within a JSON object or array. The use of commas allows for multiple elements to be defined within the same JSON structure, making it easier to organize and represent data in a structured format.

    Rate this question:

  • 17. 

    JSON objects are written inside curly brackets and objects can contain multiple name/values pairs.?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    JSON objects are indeed written inside curly brackets. This is the standard syntax for representing JSON data. Additionally, JSON objects can contain multiple name/value pairs, allowing for the organization and storage of various data elements within a single object. Therefore, the statement is true.

    Rate this question:

  • 18. 

    From the following what is/are characteristics of JSON?

    • A.

      JSON is easy to read and write.

    • B.

      It is a lightweight text-based interchange format.

    • C.

      JSON is language independent.

    • D.

      All of the above

    Correct Answer
    D. All of the above
    Explanation
    JSON (JavaScript Object Notation) is a data interchange format that is easy to read and write. It is lightweight and text-based, making it efficient for transmitting data over the network. JSON is also language independent, meaning it can be used with various programming languages. Therefore, all of the given characteristics - being easy to read and write, lightweight and text-based, and language independent - are true for JSON.

    Rate this question:

  • 19. 

    In json when exchanging data between a browser and a server, the data can only be text.?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    In JSON, data is exchanged between a browser and a server in the form of text. JSON stands for JavaScript Object Notation, and it is a lightweight data interchange format that is easy for humans to read and write. It is based on a subset of JavaScript programming language and uses text format to represent structured data. Therefore, the statement that data can only be text when exchanging data between a browser and a server in JSON is true.

    Rate this question:

  • 20. 

    JSON is a .. . 

    • A.

      Programming language

    • B.

      Scripting Language

    • C.

      Markup Language

    • D.

      GUI Programming Language

    Correct Answer
    B. Scripting Language
    Explanation
    JSON stands for JavaScript Object Notation. It is a lightweight data-interchange format that is used to store and transmit data between a server and a web application. JSON is not a programming language itself, but rather a format that can be used with various programming languages. It is commonly used in web development and scripting languages like JavaScript, Python, and Ruby to parse and manipulate data. Therefore, the correct answer is Scripting Language.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 15, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 06, 2018
    Quiz Created by
    Rahul
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.