Technology Questions

Q:

DOM stands for

A) Document object model B) Data object model
C) Document Oriented model D) Data oriented model
 
Answer & Explanation Answer: A) Document object model

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology

0 4141
Q:

Which of the following method declarations are allowed inside interface?

A) public void m1() B) private void m1()
C) protected void m1() D) abstract public void m1()
 
Answer & Explanation Answer: D) abstract public void m1()

Explanation:

Inside an interface every method will be by default abstract and public

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: IT Trainer

0 4140
Q:

What is meant by exception specification?

A) A function is limited to throwing only a specified list of exceptions. B) A catch can catch all types of exceptions.
C) A function can throw any type of exceptions. D) none of the mentioned
 
Answer & Explanation Answer: A) A function is limited to throwing only a specified list of exceptions.

Explanation:

C++ provides a mechanism to ensure that a given function is limited to throwing only a specified list of exceptions. It is called as exception specification.

Report Error

View Answer Report Error Discuss

Filed Under: C++

0 4113
Q:

Which class is used to indicate Black Navigation Bar ?

A) .navbar-inverse B) .navbar-black
C) .navbar-dark D) .navbar-default
 
Answer & Explanation Answer: A) .navbar-inverse

Explanation:

.navbar-inverse is used to display in black color.

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Exam Prep: Bank Exams
Job Role: Analyst , IT Trainer

2 4104
Q:

What is the difference between JOIN and UNION?

Answer

SQL JOIN allows access to records of other table based on the given conditions between two tables.


Ex: If we are provided with the department ID of each employee, then we can use the department ID of the employee table to merge with the department ID of the department table to access department names.


UNION operation allows addition of 2 similar data sets to create a resulting set that contains all the data from the source data sets.


Ex: If we are provided with 2 employee tables of the same structure, we can UNION them to create a singular result that will contain all employee from both the table.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

1 4097
Q:

What are the difference between in-stream procedure and inline procedure in JCL ?

Answer

An in-stream PROC is defined right in the jcl stream and doesn't reside in the proclib. This is an older technique associated with punched cards but it is still in use with setup and installation programs from vendors.


for the in-line perform instead of:


perform add-paragraph until switch = 'y'


you can code


perform until switch = 'y'


body of code


end-perform


body of code is the code from add-paragraph appearing in-line (ie right in the perform) instead of in a separate paragraph (out of line code)

Report Error

View answer Workspace Report Error Discuss

1 4096
Q:

A binary tree with 7 nodes will have how many null branches?

A) 6 B) 7
C) 8 D) 5
 
Answer & Explanation Answer: C) 8

Explanation:

A binary tree with n nodes has exactly n+1 null nodes

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 4093
Q:

What is JSON ?

Answer

* JSON full form is JavaScript Object Notation.
* JSON is a lightweight text-based open standard designed for human-readable data interchange.
* It is derived from the JavaScript programming language for representing simple data structures and associative arrays, called objects.
* And JSON is language-independent, with parsers available for virtually every programming language.
* Uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python,php
* The JSON format is often used for serializing and transmitting structured data over a network connection.
* When third party data interchane(REST Services) then JSON may used there LIKE SHOP.
* It is primarily used to transmit data between a server and web application, serving as an alternative to XML.


 

Report Error

View answer Workspace Report Error Discuss

2 4077