- Quiz will start as soon as you click the ‘Start Quiz‘ button below.
- Question will come one by one click on next for next question
- There are 30 questions in this quiz, you will get 30 Minutes to attempt.
- 2 Marks is determined for the correct answer for each question. There is no negative marking for incorrect answer.
- After the quiz is over, in order to know your rank in the Ranking List / Leader-board below, you should enter your name and email address, otherwise you will be deprived of it.
- After completing click on finish Quiz
- To see correct answers click on view Question
- जैसे ही आप नीचे दिए गए ‘स्टार्ट क्विज़’ बटन पर क्लिक करेंगे, क्विज़ शुरू हो जाएगा।
प्रश्न अगले प्रश्न के लिए अगले एक क्लिक पर आएगा
इस क्विज में 30 प्रश्न हैं, आपको प्रयास करने के लिए 30 मिनट मिलेंगे।
प्रत्येक प्रश्न के सही उत्तर के लिए 2 अंक निर्धारित किए गए हैं। गलत उत्तर के लिए कोई नकारात्मक अंकन नहीं है।
प्रश्नोत्तरी समाप्त होने के बाद, नीचे दी गई रैंकिंग सूची / लीडर-बोर्ड में अपनी रैंक जानने के लिए, आपको अपना नाम और ईमेल पता दर्ज करना चाहिए, अन्यथा आप इससे वंचित रह जाएंगे।
फिनिश क्विज़ पर क्लिक करने के बाद
सही उत्तर देखने के लिए प्रश्न पर क्लिक करें
Paper 2 CS Programming Languages Comp Graphics Part 5
Quiz-summary
0 of 30 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
Information
Paper 1 Quiz helps u to Excel in NET JRF
Paper 1 All questions 2 Marks each
- Navdeep Kaur
- All the Best
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 30 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
-
Average marks Improve next time All the Best
-
Nice Keep it up, Stay Blessed
-
Awesome Great Marks, Keep doing
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Answered
- Review
-
Question 1 of 30
1. Question
2 pointsWhen an ASP.NET file is placed on an IIS server and viewed through a browser, the resulting HTML page contains?
Correct
When an ASP.NET file is placed on an IIS server and viewed through a browser, the resulting HTML page contains all HTML code.
Incorrect
When an ASP.NET file is placed on an IIS server and viewed through a browser, the resulting HTML page contains all HTML code.
-
Question 2 of 30
2. Question
2 pointsWhich of the following is not an entity reference in XML?
Correct
“Predefined Character Entities:
They are introduced to avoid the ambiguity while using some symbols.
For example, an ambiguity is observed when less than ( < ) or greater than ( > ) symbol is used with the angle tag (<>).
Character entities are basically used to delimit tags in XML.
Following is a list of predefined character entities from XML specification. These can be used to express characters without ambiguity.
Ampersand − &
Single quote − ‘
Greater than − >
Less than − < Double quote − """Incorrect
“Predefined Character Entities:
They are introduced to avoid the ambiguity while using some symbols.
For example, an ambiguity is observed when less than ( < ) or greater than ( > ) symbol is used with the angle tag (<>).
Character entities are basically used to delimit tags in XML.
Following is a list of predefined character entities from XML specification. These can be used to express characters without ambiguity.
Ampersand − &
Single quote − ‘
Greater than − >
Less than − < Double quote − """ -
Question 3 of 30
3. Question
2 points“Consider the following statements respect to JavaScript
(i) A variable is created using the keyword
(ii) JavaScript is untyped language
Which of the above are true?”Correct
“(i)True: Because we are using “var” keyword.
(ii) False: Untyped means the operation of dividing integer by string would result in treating the first four bytes of strings as integer. This is because untyped take place directly on bits, there are no types to observe. Javascript is typed language.”Incorrect
“(i)True: Because we are using “var” keyword.
(ii) False: Untyped means the operation of dividing integer by string would result in treating the first four bytes of strings as integer. This is because untyped take place directly on bits, there are no types to observe. Javascript is typed language.” -
Question 4 of 30
4. Question
2 pointsA multimedia project is said to be ___ and user interactive when users are given navigational control
Correct
A multimedia project is said to be hypertext and user interactive when users are given navigational control
Incorrect
A multimedia project is said to be hypertext and user interactive when users are given navigational control
-
Question 5 of 30
5. Question
2 pointsThe comment in XML document is given by
Correct
A comment is a character, a line or a paragraph that is not considered as part of the XML code that needs to be processed. A comment allows you to insert notes or personal observations inside an XML file.
Incorrect
A comment is a character, a line or a paragraph that is not considered as part of the XML code that needs to be processed. A comment allows you to insert notes or personal observations inside an XML file.
-
Question 6 of 30
6. Question
2 pointsIn ASP, which of the following methods is used to end the current user session and destroy the current session object immediately?
Correct
“→Clear – Removes all keys and values from the session-state collection.
→Abandon – removes all the objects stored in a Session. If you do not call the Abandon method explicitly, the server removes these objects and destroys the session when the session times out.It also raises events like Session_End.”Incorrect
“→Clear – Removes all keys and values from the session-state collection.
→Abandon – removes all the objects stored in a Session. If you do not call the Abandon method explicitly, the server removes these objects and destroys the session when the session times out.It also raises events like Session_End.” -
Question 7 of 30
7. Question
2 points- tag is designed to fit a single line of our web page but
- tag will accept
Correct
“→The
tag is used to describe a term/name in a description list.
→The
tag is used in conjunction with
(defines a description list) and(defines terms/names).
→Inside a
tag you can put paragraphs, line breaks, images, links, lists, etc.”Incorrect
“→The
tag is used to describe a term/name in a description list.
→The
tag is used in conjunction with
(defines a description list) and(defines terms/names).
→Inside a
tag you can put paragraphs, line breaks, images, links, lists, etc.” -
Question 8 of 30
8. Question
2 pointsWhich of the following are the types of Cascading Style Sheets(CSS)?
Correct
Three types of Cascading Style Sheets(CSS) are Inline,Internal and External
Incorrect
Three types of Cascading Style Sheets(CSS) are Inline,Internal and External
-
Question 9 of 30
9. Question
2 pointsWhich of the following is true to open a link in a new browser window?
Correct
“The < a > tag defines a hyperlink, which is used to link from one page to another. Default target
If no target is specified, the link will open in the current context, unless the user or browser specifies otherwise.
a target=”_blank” Open in New Browser Tab (or Window)
The target attribute specifies where the linked document will open when the link is clicked. The default is the current window. If target=””_blank””, the linked document will open in a new tab or (on older browsers) a new window.”Incorrect
“The < a > tag defines a hyperlink, which is used to link from one page to another. Default target
If no target is specified, the link will open in the current context, unless the user or browser specifies otherwise.
a target=”_blank” Open in New Browser Tab (or Window)
The target attribute specifies where the linked document will open when the link is clicked. The default is the current window. If target=””_blank””, the linked document will open in a new tab or (on older browsers) a new window.” -
Question 10 of 30
10. Question
2 pointsWhich of the following functions is used to trim the leading as well as trailing spaces of a string in VBScript?
Correct
“The Trim function removes spaces on both sides of a string.
Trim(string)”Incorrect
“The Trim function removes spaces on both sides of a string.
Trim(string)” -
Question 11 of 30
11. Question
2 pointsWhich of the following is the correct Javascript syntax to display “Hello World”?
Correct
“→The write() method writes HTML expressions or JavaScript code to a document.
→Write HTML elements with text directly to the HTML document:
→document.write(“” < h1 > Hello World!< /h1 > < p > Have a nice day! < /p > “”);”Incorrect
“→The write() method writes HTML expressions or JavaScript code to a document.
→Write HTML elements with text directly to the HTML document:
→document.write(“” < h1 > Hello World!< /h1 > < p > Have a nice day! < /p > “”);” -
Question 12 of 30
12. Question
2 pointsDiscovery of cross sales opportunities is called as _____.
Correct
“→ Association rule learning is a rule-based machine learning method for discovering interesting relations between variables in large databases. It is intended to identify strong rules discovered in databases using some measures of interestingness.
→ This rule-based approach also generates new rules as it analyzes more data. The ultimate goal, assuming a large enough dataset, is to help a machine mimic the human brain’s feature extraction and abstract association capabilities from new uncategorized data.”Incorrect
“→ Association rule learning is a rule-based machine learning method for discovering interesting relations between variables in large databases. It is intended to identify strong rules discovered in databases using some measures of interestingness.
→ This rule-based approach also generates new rules as it analyzes more data. The ultimate goal, assuming a large enough dataset, is to help a machine mimic the human brain’s feature extraction and abstract association capabilities from new uncategorized data.” -
Question 13 of 30
13. Question
2 points__________ uses electronic means to transfer funds directly from one account to another rather than by cheque or cash.
Correct
“E-Banking uses electronic means to transfer funds directly from one account to another rather than by cheque or cash.
E-banking (or) Online banking (or) internet banking:
It is an electronic payment system that enables customers of a bank or other financial institution to conduct a range of financial transactions through the financial institution’s website. The online banking system will typically connect to or be part of the core banking system operated by a bank and is in contrast to branch banking which was the traditional way customers accessed banking services.”Incorrect
“E-Banking uses electronic means to transfer funds directly from one account to another rather than by cheque or cash.
E-banking (or) Online banking (or) internet banking:
It is an electronic payment system that enables customers of a bank or other financial institution to conduct a range of financial transactions through the financial institution’s website. The online banking system will typically connect to or be part of the core banking system operated by a bank and is in contrast to branch banking which was the traditional way customers accessed banking services.” -
Question 14 of 30
14. Question
2 pointsWhich of the following HTML5 codes will affect the horizontal as well as vertical alignment of the table content?
Correct
“● The text-align property sets the horizontal alignment (like left, right, or center) of the content in or .
● The vertical-align property sets the vertical alignment (like top, bottom, or middle) of the content in or .”Incorrect
“● The text-align property sets the horizontal alignment (like left, right, or center) of the content in or .
● The vertical-align property sets the vertical alignment (like top, bottom, or middle) of the content in or .” -
Question 15 of 30
15. Question
2 pointsThe definitions in an XML document are said to be when the tagging system and definitions in the DTD are all in compliance.
Correct
“→ A XML document is said to be well- formed if it have correct syntax like tags are case sensitive, elements must have closing tags, elements must be properly nested etc.
→ But when when associate a well formed XML document with a DTD( in which we define the structure of a document) and if that XML document validates all the definitions defined in DTD then that XML document is called as “valid” XML document.
→ Always remember that a “valid” XML document is also a “well-formed” XML document but a “well-formed” XML document is not necessarily a “valid” XML document
→ In question, it is mentioned that XML document is validating the definitions in the DTD. so the answer is option (3).”Incorrect
“→ A XML document is said to be well- formed if it have correct syntax like tags are case sensitive, elements must have closing tags, elements must be properly nested etc.
→ But when when associate a well formed XML document with a DTD( in which we define the structure of a document) and if that XML document validates all the definitions defined in DTD then that XML document is called as “valid” XML document.
→ Always remember that a “valid” XML document is also a “well-formed” XML document but a “well-formed” XML document is not necessarily a “valid” XML document
→ In question, it is mentioned that XML document is validating the definitions in the DTD. so the answer is option (3).” -
Question 16 of 30
16. Question
2 points“Consider the JavaScript Code :
var y= ’’12”;
function f( )
{
var y=’’6”;
alert (this.y);
function g( )
{
alert (y);
}
g( );
}
f( );
If M is the number of alert dialog boxes generated by this JavaScript code and D1, D2, …., DM represents the content displayed in each of the M dialog boxes, then :”Correct
“The JavaScript this keyword refers to the object it belongs to.
It has different values depending on where it is used:
In a method, this refers to the owner object.
Alone, this refers to the global object.
In a function, this refers to the global object.
In an event, this refers to the element that received the event.
Methods like call(), and apply() can refer this to any object.
There are two alert boxes in the javascript code.So two messages will be displayed.
First message, alert(this.y) here this.y is global variable whose value is 12 So first message is “12”.
Second message is alert(y) , here “y” local variable and value is 6 so second message displays value “6””Incorrect
“The JavaScript this keyword refers to the object it belongs to.
It has different values depending on where it is used:
In a method, this refers to the owner object.
Alone, this refers to the global object.
In a function, this refers to the global object.
In an event, this refers to the element that received the event.
Methods like call(), and apply() can refer this to any object.
There are two alert boxes in the javascript code.So two messages will be displayed.
First message, alert(this.y) here this.y is global variable whose value is 12 So first message is “12”.
Second message is alert(y) , here “y” local variable and value is 6 so second message displays value “6”” -
Question 17 of 30
17. Question
2 pointsThe word ‘format’ in formal languages means
Correct
Incorrect
-
Question 18 of 30
18. Question
2 pointsAn XML document that adheres to syntax rules specified by XML 1.0 specification in that it must satisfy both physical and logical structured, is called:
Correct
“A well-formed document in XML is a document that “”adheres to the syntax rules specified by the XML 1.0 specification in that it must satisfy both physical and logical structures””.
Well formed documents requirements:
1. Content be defined.
2. Content be delimited with a beginning and end tag
3. Content be properly nested (parents within roots, children within parents)”Incorrect
“A well-formed document in XML is a document that “”adheres to the syntax rules specified by the XML 1.0 specification in that it must satisfy both physical and logical structures””.
Well formed documents requirements:
1. Content be defined.
2. Content be delimited with a beginning and end tag
3. Content be properly nested (parents within roots, children within parents)” -
Question 19 of 30
19. Question
2 points“Which of the following statement(s) is/are TRUE regarding Java Servlets ?
(a) A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server.
(b) A Servlet can use the user interface classes like AWT or Swing.”Correct
“TRUE: A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server.
FALSE: A Servlet can not use the user interface classes like AWT or Swing.
→ Servlets can respond to any types of requests, they most commonly implement web containers for hosting web applications on web servers and thus qualify as a server-side servlet web API.”Incorrect
“TRUE: A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server.
FALSE: A Servlet can not use the user interface classes like AWT or Swing.
→ Servlets can respond to any types of requests, they most commonly implement web containers for hosting web applications on web servers and thus qualify as a server-side servlet web API.” -
Question 20 of 30
20. Question
2 points“Which of the following statements is/are TRUE ?
(a) In HTML, character entities are used to incorporate external content into a web page, such as images.
(b) Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.”Correct
“FALSE: Entities are used to display characters that have special HTML meaning, such as “<” and “>”.
FALSE: Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.”Incorrect
“FALSE: Entities are used to display characters that have special HTML meaning, such as “<” and “>”.
FALSE: Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.” -
Question 21 of 30
21. Question
2 points“What can you say about the following statements ?
I. XML tags are case-insensitive.
II. In JavaScript, identifier names are case-sensitive.
III.Cascading Style Sheets (CSS) cannot be used with XML.
IV. All well-formed XML documents must contain a document type definition.”Correct
“FALSE: XML tags are case-sensitive.
FALSE: In JavaScript, identifier names are not case-sensitive.
FALSE: Cascading Style Sheets (CSS) can be used with XML.
FALSE: Somel well-formed XML documents must contain a document type definition.”Incorrect
“FALSE: XML tags are case-sensitive.
FALSE: In JavaScript, identifier names are not case-sensitive.
FALSE: Cascading Style Sheets (CSS) can be used with XML.
FALSE: Somel well-formed XML documents must contain a document type definition.” -
Question 22 of 30
22. Question
2 pointsWhich of the following statements is not correct?
Correct
HTML is not a programming language. It is a markup language. The abbreviation of HTML is hypertext markup language.
Incorrect
HTML is not a programming language. It is a markup language. The abbreviation of HTML is hypertext markup language.
-
Question 23 of 30
23. Question
2 pointsWhich of the following tag in HTML is used to surround information, such as signature of the person who created the page ?
Correct
“This tag is for address information, signatures, etc, normally at the top or bottom of a document. typically, it is italic and/or right justified or indented.
The format is:
< ADDRESS > text … < / ADDRESS >“Incorrect
“This tag is for address information, signatures, etc, normally at the top or bottom of a document. typically, it is italic and/or right justified or indented.
The format is:
< ADDRESS > text … < / ADDRESS >“ -
Question 24 of 30
24. Question
2 points“Javascript and Java has similar name because __________ is/are true.
(a)Javascripts syntax is loosely based on Java’s syntax
(b)Javascript is stripped down version of Java
(c)Java and Javascript are originated from the Island of Java”
Correct
“→ Java programming language whereas Javascript is script language.
→ Java can used to create the application independently.
→ JavaScript is used along with HTML mainly meant for validation.”Incorrect
“→ Java programming language whereas Javascript is script language.
→ Java can used to create the application independently.
→ JavaScript is used along with HTML mainly meant for validation.” -
Question 25 of 30
25. Question
2 points“Which of the following statements are true with reference to the way of describing XML data?
(a)XML uses DTD to describe the data
(b)XML uses XSL to describe the data
(c)XML uses a description node to describe the data”Correct
“Option(A): XML uses DTD to define the structure of an XML document. It defines the structure with a list of legal elements. Hence statement (a) is correct.
Option(B): XSLT (eXtensible Stylesheet Language Transformations) is the recommended style sheet language for XML.XSLT is far more sophisticated than CSS. With XSLT you can add/remove elements and attributes to or from the output file. You can also rearrange and sort elements, perform tests and make decisions about which elements to hide and display, and a lot more. XSLT uses XPath to find information in an XML document.
Hence here XML is not using XSL to describe the data. So statement (b) is wrong.
Option(C): Everything in an XML document is a node:
The entire document is a document node
Every XML element is an element node
The text in the XML elements are text nodes
Every attribute is an attribute node
Comments are comment nodes
Hence statement (c) is correct.”Incorrect
“Option(A): XML uses DTD to define the structure of an XML document. It defines the structure with a list of legal elements. Hence statement (a) is correct.
Option(B): XSLT (eXtensible Stylesheet Language Transformations) is the recommended style sheet language for XML.XSLT is far more sophisticated than CSS. With XSLT you can add/remove elements and attributes to or from the output file. You can also rearrange and sort elements, perform tests and make decisions about which elements to hide and display, and a lot more. XSLT uses XPath to find information in an XML document.
Hence here XML is not using XSL to describe the data. So statement (b) is wrong.
Option(C): Everything in an XML document is a node:
The entire document is a document node
Every XML element is an element node
The text in the XML elements are text nodes
Every attribute is an attribute node
Comments are comment nodes
Hence statement (c) is correct.” -
Question 26 of 30
26. Question
2 points“Which of the following statements is/are true?
P: In a scripting language like javaScript, types are typically associated with values, not variables.
Q: It is not possible to show images on a web page without the tag of HTML
Select the correct answer from the given below:”Correct
P : True. Variables are typically not declared in scripting language is, so there is no opportunity to assign them a type.
Incorrect
P : True. Variables are typically not declared in scripting language is, so there is no opportunity to assign them a type.
-
Question 27 of 30
27. Question
2 points“Which of the following statements is/are true
P: An XML document with correct as specified by W3C is called “well formed”.
Q: An XML documented validated against a DTD is both “Well-Formed” and “valid”.
R: is syntactically correct declaration for the version of an XML document.
Select the correct answer from the options given below:”Correct
“→ A XML document is said to be well- formed if it has correct syntax like tags are case sensitive, elements must have closing tags, elements must be properly nested etc.
→ But when we associate a well formed XML document with a DTD( in which we define the structure of a document) and if that XML document validates all the definitions defined in DTD then that XML document is called as “valid” XML document.
→ Always remember that a “valid” XML document is also a “well-formed” XML document but a “well-formed” XML document is not necessarily a “valid” XML document
→ < ? xml version=""1.0"" encoding=""UTF-8"" ? > is syntactically correct declaration for the version of an XML document.”Incorrect
“→ A XML document is said to be well- formed if it has correct syntax like tags are case sensitive, elements must have closing tags, elements must be properly nested etc.
→ But when we associate a well formed XML document with a DTD( in which we define the structure of a document) and if that XML document validates all the definitions defined in DTD then that XML document is called as “valid” XML document.
→ Always remember that a “valid” XML document is also a “well-formed” XML document but a “well-formed” XML document is not necessarily a “valid” XML document
→ < ? xml version=""1.0"" encoding=""UTF-8"" ? > is syntactically correct declaration for the version of an XML document.” -
Question 28 of 30
28. Question
2 pointsI n XML we can specify the frequency of an element by using the symbols:
Correct
Incorrect
-
Question 29 of 30
29. Question
2 pointsIn XML, DOCTYPE declaration specifies to include a reference to __________ file.
Correct
Incorrect
-
Question 30 of 30
30. Question
2 pointsWhich tag is used to enclose any number of javascript statements in HTML document?
Correct
“The < script > tag is used to define a client-side script (JavaScript).
The < script > element either contains scripting statements, or it points to an external script file through the src attribute.
Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content.”Incorrect
“The < script > tag is used to define a client-side script (JavaScript).
The < script > element either contains scripting statements, or it points to an external script file through the src attribute.
Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content.”
- Next Quiz Daily at navclasses.in 12 PM
- Paper 2 Sunday at navclasses.in
Study Paper 1 Topics for Free Click Here
Get subscription for Complete Preparation NTA NET JRF: https://unacademy.com/subscribe/TEWDQ
use my referral code for 10% additional discount: NAVCLASSES
Search Navdeep Kaur and start watching ongoing courses
NTA NET Paper 1
Paper 2 CS Programming Languages Comp Graphics Part 5
Quiz-summary
0 of 30 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
Information
Paper 1 Quiz helps u to Excel in NET JRF
Paper 1 All questions 2 Marks each
- Navdeep Kaur
- All the Best
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 30 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
-
Average marks Improve next time All the Best
-
Nice Keep it up, Stay Blessed
-
Awesome Great Marks, Keep doing
Pos. | Name | Entered on | Points | Result |
---|---|---|---|---|
Table is loading | ||||
No data available | ||||
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- Answered
- Review
-
Question 1 of 30
1. Question
2 pointsWhen an ASP.NET file is placed on an IIS server and viewed through a browser, the resulting HTML page contains?
Correct
When an ASP.NET file is placed on an IIS server and viewed through a browser, the resulting HTML page contains all HTML code.
Incorrect
When an ASP.NET file is placed on an IIS server and viewed through a browser, the resulting HTML page contains all HTML code.
-
Question 2 of 30
2. Question
2 pointsWhich of the following is not an entity reference in XML?
Correct
“Predefined Character Entities:
They are introduced to avoid the ambiguity while using some symbols.
For example, an ambiguity is observed when less than ( < ) or greater than ( > ) symbol is used with the angle tag (<>).
Character entities are basically used to delimit tags in XML.
Following is a list of predefined character entities from XML specification. These can be used to express characters without ambiguity.
Ampersand − &
Single quote − ‘
Greater than − >
Less than − < Double quote − """Incorrect
“Predefined Character Entities:
They are introduced to avoid the ambiguity while using some symbols.
For example, an ambiguity is observed when less than ( < ) or greater than ( > ) symbol is used with the angle tag (<>).
Character entities are basically used to delimit tags in XML.
Following is a list of predefined character entities from XML specification. These can be used to express characters without ambiguity.
Ampersand − &
Single quote − ‘
Greater than − >
Less than − < Double quote − """ -
Question 3 of 30
3. Question
2 points“Consider the following statements respect to JavaScript
(i) A variable is created using the keyword
(ii) JavaScript is untyped language
Which of the above are true?”Correct
“(i)True: Because we are using “var” keyword.
(ii) False: Untyped means the operation of dividing integer by string would result in treating the first four bytes of strings as integer. This is because untyped take place directly on bits, there are no types to observe. Javascript is typed language.”Incorrect
“(i)True: Because we are using “var” keyword.
(ii) False: Untyped means the operation of dividing integer by string would result in treating the first four bytes of strings as integer. This is because untyped take place directly on bits, there are no types to observe. Javascript is typed language.” -
Question 4 of 30
4. Question
2 pointsA multimedia project is said to be ___ and user interactive when users are given navigational control
Correct
A multimedia project is said to be hypertext and user interactive when users are given navigational control
Incorrect
A multimedia project is said to be hypertext and user interactive when users are given navigational control
-
Question 5 of 30
5. Question
2 pointsThe comment in XML document is given by
Correct
A comment is a character, a line or a paragraph that is not considered as part of the XML code that needs to be processed. A comment allows you to insert notes or personal observations inside an XML file.
Incorrect
A comment is a character, a line or a paragraph that is not considered as part of the XML code that needs to be processed. A comment allows you to insert notes or personal observations inside an XML file.
-
Question 6 of 30
6. Question
2 pointsIn ASP, which of the following methods is used to end the current user session and destroy the current session object immediately?
Correct
“→Clear – Removes all keys and values from the session-state collection.
→Abandon – removes all the objects stored in a Session. If you do not call the Abandon method explicitly, the server removes these objects and destroys the session when the session times out.It also raises events like Session_End.”Incorrect
“→Clear – Removes all keys and values from the session-state collection.
→Abandon – removes all the objects stored in a Session. If you do not call the Abandon method explicitly, the server removes these objects and destroys the session when the session times out.It also raises events like Session_End.” -
Question 7 of 30
7. Question
2 points- tag is designed to fit a single line of our web page but
- tag will accept
Correct
“→The
tag is used to describe a term/name in a description list.
→The
tag is used in conjunction with
(defines a description list) and(defines terms/names).
→Inside a
tag you can put paragraphs, line breaks, images, links, lists, etc.”Incorrect
“→The
tag is used to describe a term/name in a description list.
→The
tag is used in conjunction with
(defines a description list) and(defines terms/names).
→Inside a
tag you can put paragraphs, line breaks, images, links, lists, etc.” -
Question 8 of 30
8. Question
2 pointsWhich of the following are the types of Cascading Style Sheets(CSS)?
Correct
Three types of Cascading Style Sheets(CSS) are Inline,Internal and External
Incorrect
Three types of Cascading Style Sheets(CSS) are Inline,Internal and External
-
Question 9 of 30
9. Question
2 pointsWhich of the following is true to open a link in a new browser window?
Correct
“The < a > tag defines a hyperlink, which is used to link from one page to another. Default target
If no target is specified, the link will open in the current context, unless the user or browser specifies otherwise.
a target=”_blank” Open in New Browser Tab (or Window)
The target attribute specifies where the linked document will open when the link is clicked. The default is the current window. If target=””_blank””, the linked document will open in a new tab or (on older browsers) a new window.”Incorrect
“The < a > tag defines a hyperlink, which is used to link from one page to another. Default target
If no target is specified, the link will open in the current context, unless the user or browser specifies otherwise.
a target=”_blank” Open in New Browser Tab (or Window)
The target attribute specifies where the linked document will open when the link is clicked. The default is the current window. If target=””_blank””, the linked document will open in a new tab or (on older browsers) a new window.” -
Question 10 of 30
10. Question
2 pointsWhich of the following functions is used to trim the leading as well as trailing spaces of a string in VBScript?
Correct
“The Trim function removes spaces on both sides of a string.
Trim(string)”Incorrect
“The Trim function removes spaces on both sides of a string.
Trim(string)” -
Question 11 of 30
11. Question
2 pointsWhich of the following is the correct Javascript syntax to display “Hello World”?
Correct
“→The write() method writes HTML expressions or JavaScript code to a document.
→Write HTML elements with text directly to the HTML document:
→document.write(“” < h1 > Hello World!< /h1 > < p > Have a nice day! < /p > “”);”Incorrect
“→The write() method writes HTML expressions or JavaScript code to a document.
→Write HTML elements with text directly to the HTML document:
→document.write(“” < h1 > Hello World!< /h1 > < p > Have a nice day! < /p > “”);” -
Question 12 of 30
12. Question
2 pointsDiscovery of cross sales opportunities is called as _____.
Correct
“→ Association rule learning is a rule-based machine learning method for discovering interesting relations between variables in large databases. It is intended to identify strong rules discovered in databases using some measures of interestingness.
→ This rule-based approach also generates new rules as it analyzes more data. The ultimate goal, assuming a large enough dataset, is to help a machine mimic the human brain’s feature extraction and abstract association capabilities from new uncategorized data.”Incorrect
“→ Association rule learning is a rule-based machine learning method for discovering interesting relations between variables in large databases. It is intended to identify strong rules discovered in databases using some measures of interestingness.
→ This rule-based approach also generates new rules as it analyzes more data. The ultimate goal, assuming a large enough dataset, is to help a machine mimic the human brain’s feature extraction and abstract association capabilities from new uncategorized data.” -
Question 13 of 30
13. Question
2 points__________ uses electronic means to transfer funds directly from one account to another rather than by cheque or cash.
Correct
“E-Banking uses electronic means to transfer funds directly from one account to another rather than by cheque or cash.
E-banking (or) Online banking (or) internet banking:
It is an electronic payment system that enables customers of a bank or other financial institution to conduct a range of financial transactions through the financial institution’s website. The online banking system will typically connect to or be part of the core banking system operated by a bank and is in contrast to branch banking which was the traditional way customers accessed banking services.”Incorrect
“E-Banking uses electronic means to transfer funds directly from one account to another rather than by cheque or cash.
E-banking (or) Online banking (or) internet banking:
It is an electronic payment system that enables customers of a bank or other financial institution to conduct a range of financial transactions through the financial institution’s website. The online banking system will typically connect to or be part of the core banking system operated by a bank and is in contrast to branch banking which was the traditional way customers accessed banking services.” -
Question 14 of 30
14. Question
2 pointsWhich of the following HTML5 codes will affect the horizontal as well as vertical alignment of the table content?
Correct
“● The text-align property sets the horizontal alignment (like left, right, or center) of the content in or .
● The vertical-align property sets the vertical alignment (like top, bottom, or middle) of the content in or .”Incorrect
“● The text-align property sets the horizontal alignment (like left, right, or center) of the content in or .
● The vertical-align property sets the vertical alignment (like top, bottom, or middle) of the content in or .” -
Question 15 of 30
15. Question
2 pointsThe definitions in an XML document are said to be when the tagging system and definitions in the DTD are all in compliance.
Correct
“→ A XML document is said to be well- formed if it have correct syntax like tags are case sensitive, elements must have closing tags, elements must be properly nested etc.
→ But when when associate a well formed XML document with a DTD( in which we define the structure of a document) and if that XML document validates all the definitions defined in DTD then that XML document is called as “valid” XML document.
→ Always remember that a “valid” XML document is also a “well-formed” XML document but a “well-formed” XML document is not necessarily a “valid” XML document
→ In question, it is mentioned that XML document is validating the definitions in the DTD. so the answer is option (3).”Incorrect
“→ A XML document is said to be well- formed if it have correct syntax like tags are case sensitive, elements must have closing tags, elements must be properly nested etc.
→ But when when associate a well formed XML document with a DTD( in which we define the structure of a document) and if that XML document validates all the definitions defined in DTD then that XML document is called as “valid” XML document.
→ Always remember that a “valid” XML document is also a “well-formed” XML document but a “well-formed” XML document is not necessarily a “valid” XML document
→ In question, it is mentioned that XML document is validating the definitions in the DTD. so the answer is option (3).” -
Question 16 of 30
16. Question
2 points“Consider the JavaScript Code :
var y= ’’12”;
function f( )
{
var y=’’6”;
alert (this.y);
function g( )
{
alert (y);
}
g( );
}
f( );
If M is the number of alert dialog boxes generated by this JavaScript code and D1, D2, …., DM represents the content displayed in each of the M dialog boxes, then :”Correct
“The JavaScript this keyword refers to the object it belongs to.
It has different values depending on where it is used:
In a method, this refers to the owner object.
Alone, this refers to the global object.
In a function, this refers to the global object.
In an event, this refers to the element that received the event.
Methods like call(), and apply() can refer this to any object.
There are two alert boxes in the javascript code.So two messages will be displayed.
First message, alert(this.y) here this.y is global variable whose value is 12 So first message is “12”.
Second message is alert(y) , here “y” local variable and value is 6 so second message displays value “6””Incorrect
“The JavaScript this keyword refers to the object it belongs to.
It has different values depending on where it is used:
In a method, this refers to the owner object.
Alone, this refers to the global object.
In a function, this refers to the global object.
In an event, this refers to the element that received the event.
Methods like call(), and apply() can refer this to any object.
There are two alert boxes in the javascript code.So two messages will be displayed.
First message, alert(this.y) here this.y is global variable whose value is 12 So first message is “12”.
Second message is alert(y) , here “y” local variable and value is 6 so second message displays value “6”” -
Question 17 of 30
17. Question
2 pointsThe word ‘format’ in formal languages means
Correct
Incorrect
-
Question 18 of 30
18. Question
2 pointsAn XML document that adheres to syntax rules specified by XML 1.0 specification in that it must satisfy both physical and logical structured, is called:
Correct
“A well-formed document in XML is a document that “”adheres to the syntax rules specified by the XML 1.0 specification in that it must satisfy both physical and logical structures””.
Well formed documents requirements:
1. Content be defined.
2. Content be delimited with a beginning and end tag
3. Content be properly nested (parents within roots, children within parents)”Incorrect
“A well-formed document in XML is a document that “”adheres to the syntax rules specified by the XML 1.0 specification in that it must satisfy both physical and logical structures””.
Well formed documents requirements:
1. Content be defined.
2. Content be delimited with a beginning and end tag
3. Content be properly nested (parents within roots, children within parents)” -
Question 19 of 30
19. Question
2 points“Which of the following statement(s) is/are TRUE regarding Java Servlets ?
(a) A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server.
(b) A Servlet can use the user interface classes like AWT or Swing.”Correct
“TRUE: A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server.
FALSE: A Servlet can not use the user interface classes like AWT or Swing.
→ Servlets can respond to any types of requests, they most commonly implement web containers for hosting web applications on web servers and thus qualify as a server-side servlet web API.”Incorrect
“TRUE: A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server.
FALSE: A Servlet can not use the user interface classes like AWT or Swing.
→ Servlets can respond to any types of requests, they most commonly implement web containers for hosting web applications on web servers and thus qualify as a server-side servlet web API.” -
Question 20 of 30
20. Question
2 points“Which of the following statements is/are TRUE ?
(a) In HTML, character entities are used to incorporate external content into a web page, such as images.
(b) Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.”Correct
“FALSE: Entities are used to display characters that have special HTML meaning, such as “<” and “>”.
FALSE: Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.”Incorrect
“FALSE: Entities are used to display characters that have special HTML meaning, such as “<” and “>”.
FALSE: Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.” -
Question 21 of 30
21. Question
2 points“What can you say about the following statements ?
I. XML tags are case-insensitive.
II. In JavaScript, identifier names are case-sensitive.
III.Cascading Style Sheets (CSS) cannot be used with XML.
IV. All well-formed XML documents must contain a document type definition.”Correct
“FALSE: XML tags are case-sensitive.
FALSE: In JavaScript, identifier names are not case-sensitive.
FALSE: Cascading Style Sheets (CSS) can be used with XML.
FALSE: Somel well-formed XML documents must contain a document type definition.”Incorrect
“FALSE: XML tags are case-sensitive.
FALSE: In JavaScript, identifier names are not case-sensitive.
FALSE: Cascading Style Sheets (CSS) can be used with XML.
FALSE: Somel well-formed XML documents must contain a document type definition.” -
Question 22 of 30
22. Question
2 pointsWhich of the following statements is not correct?
Correct
HTML is not a programming language. It is a markup language. The abbreviation of HTML is hypertext markup language.
Incorrect
HTML is not a programming language. It is a markup language. The abbreviation of HTML is hypertext markup language.
-
Question 23 of 30
23. Question
2 pointsWhich of the following tag in HTML is used to surround information, such as signature of the person who created the page ?
Correct
“This tag is for address information, signatures, etc, normally at the top or bottom of a document. typically, it is italic and/or right justified or indented.
The format is:
< ADDRESS > text … < / ADDRESS >“Incorrect
“This tag is for address information, signatures, etc, normally at the top or bottom of a document. typically, it is italic and/or right justified or indented.
The format is:
< ADDRESS > text … < / ADDRESS >“ -
Question 24 of 30
24. Question
2 points“Javascript and Java has similar name because __________ is/are true.
(a)Javascripts syntax is loosely based on Java’s syntax
(b)Javascript is stripped down version of Java
(c)Java and Javascript are originated from the Island of Java”
Correct
“→ Java programming language whereas Javascript is script language.
→ Java can used to create the application independently.
→ JavaScript is used along with HTML mainly meant for validation.”Incorrect
“→ Java programming language whereas Javascript is script language.
→ Java can used to create the application independently.
→ JavaScript is used along with HTML mainly meant for validation.” -
Question 25 of 30
25. Question
2 points“Which of the following statements are true with reference to the way of describing XML data?
(a)XML uses DTD to describe the data
(b)XML uses XSL to describe the data
(c)XML uses a description node to describe the data”Correct
“Option(A): XML uses DTD to define the structure of an XML document. It defines the structure with a list of legal elements. Hence statement (a) is correct.
Option(B): XSLT (eXtensible Stylesheet Language Transformations) is the recommended style sheet language for XML.XSLT is far more sophisticated than CSS. With XSLT you can add/remove elements and attributes to or from the output file. You can also rearrange and sort elements, perform tests and make decisions about which elements to hide and display, and a lot more. XSLT uses XPath to find information in an XML document.
Hence here XML is not using XSL to describe the data. So statement (b) is wrong.
Option(C): Everything in an XML document is a node:
The entire document is a document node
Every XML element is an element node
The text in the XML elements are text nodes
Every attribute is an attribute node
Comments are comment nodes
Hence statement (c) is correct.”Incorrect
“Option(A): XML uses DTD to define the structure of an XML document. It defines the structure with a list of legal elements. Hence statement (a) is correct.
Option(B): XSLT (eXtensible Stylesheet Language Transformations) is the recommended style sheet language for XML.XSLT is far more sophisticated than CSS. With XSLT you can add/remove elements and attributes to or from the output file. You can also rearrange and sort elements, perform tests and make decisions about which elements to hide and display, and a lot more. XSLT uses XPath to find information in an XML document.
Hence here XML is not using XSL to describe the data. So statement (b) is wrong.
Option(C): Everything in an XML document is a node:
The entire document is a document node
Every XML element is an element node
The text in the XML elements are text nodes
Every attribute is an attribute node
Comments are comment nodes
Hence statement (c) is correct.” -
Question 26 of 30
26. Question
2 points“Which of the following statements is/are true?
P: In a scripting language like javaScript, types are typically associated with values, not variables.
Q: It is not possible to show images on a web page without the tag of HTML
Select the correct answer from the given below:”Correct
P : True. Variables are typically not declared in scripting language is, so there is no opportunity to assign them a type.
Incorrect
P : True. Variables are typically not declared in scripting language is, so there is no opportunity to assign them a type.
-
Question 27 of 30
27. Question
2 points“Which of the following statements is/are true
P: An XML document with correct as specified by W3C is called “well formed”.
Q: An XML documented validated against a DTD is both “Well-Formed” and “valid”.
R: is syntactically correct declaration for the version of an XML document.
Select the correct answer from the options given below:”Correct
“→ A XML document is said to be well- formed if it has correct syntax like tags are case sensitive, elements must have closing tags, elements must be properly nested etc.
→ But when we associate a well formed XML document with a DTD( in which we define the structure of a document) and if that XML document validates all the definitions defined in DTD then that XML document is called as “valid” XML document.
→ Always remember that a “valid” XML document is also a “well-formed” XML document but a “well-formed” XML document is not necessarily a “valid” XML document
→ < ? xml version=""1.0"" encoding=""UTF-8"" ? > is syntactically correct declaration for the version of an XML document.”Incorrect
“→ A XML document is said to be well- formed if it has correct syntax like tags are case sensitive, elements must have closing tags, elements must be properly nested etc.
→ But when we associate a well formed XML document with a DTD( in which we define the structure of a document) and if that XML document validates all the definitions defined in DTD then that XML document is called as “valid” XML document.
→ Always remember that a “valid” XML document is also a “well-formed” XML document but a “well-formed” XML document is not necessarily a “valid” XML document
→ < ? xml version=""1.0"" encoding=""UTF-8"" ? > is syntactically correct declaration for the version of an XML document.” -
Question 28 of 30
28. Question
2 pointsI n XML we can specify the frequency of an element by using the symbols:
Correct
Incorrect
-
Question 29 of 30
29. Question
2 pointsIn XML, DOCTYPE declaration specifies to include a reference to __________ file.
Correct
Incorrect
-
Question 30 of 30
30. Question
2 pointsWhich tag is used to enclose any number of javascript statements in HTML document?
Correct
“The < script > tag is used to define a client-side script (JavaScript).
The < script > element either contains scripting statements, or it points to an external script file through the src attribute.
Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content.”Incorrect
“The < script > tag is used to define a client-side script (JavaScript).
The < script > element either contains scripting statements, or it points to an external script file through the src attribute.
Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content.”