0% found this document useful (0 votes)
18 views3 pages

Java MCQs

The document is a collection of multiple choice questions about various technical topics including NoSQL databases, Docker, AngularJS, SQL Server, MongoDB, Java, and Cassandra. It contains 20 questions total.

Uploaded by

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

Java MCQs

The document is a collection of multiple choice questions about various technical topics including NoSQL databases, Docker, AngularJS, SQL Server, MongoDB, Java, and Cassandra. It contains 20 questions total.

Uploaded by

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

1.

The Mobile Service contains PM Cache, which is


a. NoSQL Document Store
b. SQL database
c. Message Queue
d. Graph Database
2. Which of the following command used to get the version of docker-compose?
a. Sudo ./docker-compose-version
b. /docker-compose-version
c. List ./docker-copose-version
d. Get ./docker-compose-version
3. Consider the given statements under AngularJS and specify which of given does best defines
the data binding in the AngularJS?
a. Data Binding is the technique to save HTML data in the database
b. Data Binding is the technique to bind database data to html control
c. Data Binding is synchronization of data amid the model and the view element
d. Data binding is the automatic synchronization of data between model and controller
components
4. Which of the following command is used to start the Docker Daemon process but also
specifies the option for logging?
a. Subdocker -I debug
b. Subdockered -I debug
c. Subdockered -Idebug &
d. Subdocker -I debug&
5. Which method gets invoked just before the object is collected as garbage and is used for
cleanup the processing?
a. Gc()
b. Final()
c. Finally()
d. Finalize()
6. Which is known as the set of APIs in Java used to create the web services in the form of XML
a. WSDL
b. JAX
c. JAX-WS
d. All the above
7. In Angular 2 the template compilation process is ---------
a. Asynchronous
b. Synchronous
c. Both 1st and 2nd
d. None of the above
8. How are exceptions handled in SQL Server?
a. TRY-CATCH
b. START ERROR – END ERROR
c. BEGIN ERROR – END ERROR
d. NONE
9. How much time is required to write MongoDB codes to a journal?
a. 100ms
b. 1s
c. 100s
10. From the provided option in relation to web-logic server state as which of the following tools
can be used for developing Web-logic’s Server Application?
a. Only 1
b. Only 2
c. Both of these
d. Either 1 or 2
11. First the html document is loaded into the browser, and evaluated by the browser. At this
time the AngularJS
a. Javascript file is loaded
b. The angular global object is created
c. Your Javascript which registered controller functions is executed
d. All of the above
12. If data obtained model contains HTML elements these have been escaped before being
inserted into the HTML template. Escaping means that HTML has been displayed as text as
well as not as HTML. This has been done to prevent______
a. SQL Injection attacks
b. JS Injection attacks
c. HTML injection attacks
d. Python injection attacks
13. State that which of the provided the non exception classes have been inherited from java 2
standard edition java util package by CLDC
a. The Calendar, the Date, the Enumeration, the Hashtable, the Stack, the Vector
b. The calendar, the Data, the Enumeration, the Hashtable, the Random, the Stack, the
Timer, the vector
c. The Calendar, the Date, the EEnumeration, the Hashtable, the Stack, the Vector, the
StringTOkenizer
d. All of Java util classes have been inherited.
14. Which of the following directive s used to show or hide HTML depending on the state of
data in the model?
a. Ng.-show, ng-hide
b. Nt-show,nt-hide
c. Ng-shows, ng-hides
d. Ng-shown, ng-hidden
15. In case data obtained from model consists of the HTML components are escaped before it is
inserted in the HTML template and escaping means that HTML is displayed as the text and
not as the HTML and such is done to avoid which of these?
a. SQL injection attacks
b. JS Injection attacks
c. HTML injection attacks
d. Python injection attacks
16. From the given options in relevance to the render function state that which of the provided
option does mention a string of text that has been entered?
a. Text
b. Data
c. Font
d. Table
17. Which is used define the access type of the method and is optional to be used?
a. ReturnType
b. Parameter List
c. Modifier
d. None of the above
18. Which string holds the clients address?
a. Config.changelog.ServerAddr
b. Config.changelog.clientAddr
c. Config.changelog.time
d. All of the above
19. Which of the following syntax is used to create the keyspace in Cassandra?
a. CREATE KEYSPACE Keyspace name WITH replication ={class,replication-factor:3};
b. CREATE KEYSPACE WITH replication ={class=SimpleStrategy,replication-factor:3};
c. CREATE KEYSPACE Keyspace name WITH replication ={class,replication-factor:3};
d. None
20. Each controller accepts $scope as the parameter which refers to application or module that
controller has been to control. From given state what do we call such parameter?
a. $scont
b. $scope
c. $control
d. $param

You might also like