Untitled Document
Untitled Document
Yes
No
1. Java 7
2. Java 8
3. Java 10
4. Java 14
1. pom.xml
2. config.xml
3. META-INF
4. None of the Above
1. The code generated by Spring Initializr provides complete code required for developing web
application.
2. Spring Initializr provides ability to choose required dependencies
3. Spring Initializr lets you download application code as zip file
4. Spring Initializr generated code doesn't contain dependencies required to support JSP views
Q6. Which annotation is used annotate the class to launch Spring application?
1. @SpringBoot
2. @SpringApplication
3. @SpringBootApplication
4. @Application
1. @Component
2. @Model
3. @Entity
4. @Data
1. @Map
2. @PathVariable
3. @RequestParam
4. @Param
MCQ 2
Q1.Each resource in REST architecture is identified by its URI.
Yes
No
1. 500
2. 501
3. 504
4. 200
1. HTTP
2. XML
3. JMX
4. SOAP
1. Warning
2. Error
3. Created
4. Success
Q7. How will you access the parameter defined in the Web Service URI ?
1. @PathParam
2. @Param
3. @PathString
4. @Parameter
Q8. Which class is provided by JAX-RS for asynchronous resource ourput
1. AsyncOut
2. AsyncResponse
3. AsyncOutput
4. AsyncRes
1. Get
2. Post
3. String
4. Delete
Q10. What is true about URI in RESTful web services? (Select multiple)
MCQ 3
Q1. Who develops react.js?
1. Apple
2. Facebook
3. Twitter
4. Google
Yes
No
1. A permanent storage
2. Internal storage of the component
3. Both 1 and 2
4. None of above
Q5. What will happen if you render an input element with disabled = {true}
Q6. What is the default port where react app will run
1. 8080
2. 3333
3. 3000
4. 6020
1. this.setChangeState
2. this.State{}
3. this.setState
4. Both 2 and 3
Q8. Everything in React is _______
1. Module
2. Package
3. class
4. Component
Q10. How do you write an inline style specifying the font-size:19px and color:blue; in JSX
style={{font-size:19,color:'blue'}}
style= {fontSize:'19px',color:'blue'}
style= {{font-size:19px,color:'blue'}}
style= {{fontSize:'19px',color:'blue'}}