
SEED : Springboot Week 2
Authored by Kavitha Rajendran
Fun, Professional Development, English
KG
Used 26+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
REST stands for
REpresentational State Transport
Representational Expression State Transfer
REpresentational Style Transfer
REpresentational State Transfer
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Pick the correct statements
A. REST uses HTTP protocol for producing or consuming web services while SOAP uses XML.
B. SOAP is lightweight as compared to REST and preferred choice in mobile devices and PDA’s
Both A and B
A
None
B
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Choose incorrect ones.
A. 204 No Content
B. 401 Unauthorized
C. 409 Not Modified
D. 304 Conflict
E. 201 Created
B & D
C
E
C & D
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Pick idempotent operations
A. PUT
B. POST
C. HEAD
D. GET
A, B and C
B, C and D
C and A
A, C and D
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Annotation to map the exceptions to HTTP status codes
@ResponseCode
@ResponseBody
@ResponseHeader
@ResponseStatus
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Below code will be traslated into which SQL query ?
public interface UserRepository extends JpaRepository<User, Long> {
List<User> findByFirstnameEndsWith(String firstname);
}
select * from User u where u.firstname = '?1%'
select * from User u where u.firstname like '%?1'
select * from User u where u.firstname = '%?1'
select * from User u where u.firstname like '?1%'
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
While querying if record does not exist, findById() returns null and getOne() will throw an exception called EntityNotFoundException.
State True or False
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?