stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Spring & SQL Flashcards | StudBud
Explore
/
Spring & SQL
Spring & SQL
16 terms
·
StudBud Administration
·
41 plays
Super quiz to check #springframework and #sql knowledge of Green Fox Academy students.
Flashcards
16 cards
F
Practice quiz
P
Host live
L
Questions
16
Answers
1
What is Dependency Injection?
It is a technique to get methods of any project.
It is used to promote tight coupling in code.
Design pattern implementing IoC for software applications.
It is one of the Spring module.
2
Which SQL statement is used to extract data from a database?
SELECT
GET
OPEN
EXTRACT
3
How can you change "Hansen" into "Nilsen" in the "LastName" column in the Persons table?
MODIFY Persons SET LastName='Hansen' INTO LastName='Nilsen'
MODIFY Persons SET LastName='Nilsen' WHERE LastName='Hansen'
UPDATE Persons SET LastName='Hansen' INTO LastName='Nilsen'
UPDATE Persons SET LastName='Nilsen' WHERE LastName='Hansen'
4
Which SQL statement is used to return only different values?
SELECT DISTINCT
SELECT UNIQUE
SELECT DIFFERENT
5
What is Spring?
Spring is an open source development framework for Java.
Spring is a development framework for PHP based applications
Spring is a proprietary framework for Java.
Spring is a development framework for .Net applications.
6
Which class acts as IoC Container?
ServletContext
DispatcherServlet
None of the above
ApplicationContext
7
With SQL, how can you delete the records where the "FirstName" is "Peter" in the Persons Table?
DELETE ROW FirstName='Peter' FROM Persons
DELETE FROM Persons WHERE FirstName = 'Peter'
DELETE FirstName='Peter' FROM Persons
8
What does MVC stand for?
Model View Controller
Main Vision Control
Main View Controller
Model View Control
9
If a bean can be created any number of times, scope is
prototype
session
request
global-session
10
What is bean autowiring?
Autowiring helps wire a list of values, allowing duplicates.
Autowiring injects one bean into another.
Autowiring injects values in spring beans.
Lets Spring resolve collaborators(other beans) for your bean
11
What is/are part of the ORM concept ?
JPA
All of them
Hibernate
JDBC
12
What is JDBC?
Java Database Connection
Java Dependency Control
Java Database Controller
Java Database Connectivity
13
What types of Dependency injection does Spring supports?
Constructor based only
Constructor, Getter/Setter, Property based
Getter/Setter, Constructor based only
DispatcherServlet specific
14
What does SQL stand for?
Structured Query Language
Strong Question Language
Structured Question Language
15
Which SQL statement is used to insert new data in a database?
INSERT INTO
INSERT NEW
ADD NEW
ADD RECORD
16
Which annotation is to create database from object in Java?
@Id
@Column
@Table
@Entity