NEW
Font size
WorksheetsKFIN_Tech_Screening_Test_Python_103_Jan'24
Total questions: 60
Worksheet time: 3600secs
Props are __________ into other components
Injected
Methods
Both A and B
All of these
Keys are given to a list of elements in react. These keys should be -
Unique in the DOM
Do not requires to be unique
Unique among the siblings only
All of the above
How do you access a function fetch() from a h1 element in JSX?
<h1>{fetch()}</h1>
<h1>${fetch()}</h1>
<h1>{fetch}</h1>
<h1>${fetch}</h1>
Which of the following is NOT a rule for React Hooks?
Hooks cannot be conditional
Hooks can only be called at the top level of a component
Hooks can be called in class or function components
Hooks can only be called in inside React function components
Which one is valid for inline styling in reactjs
<div style={{ backgroundColor: 'red', fontSize: '16px' }} > Hello World! </div>
<div style={{ background-color: 'red', font-size: '16px' }} > Hello World! </div>
<div style="background-color: red; font-size: 16px" > Hello World! </div>
all of the above
Choose the functionality of setState?
Access the previous state before the setState operation.
invoke code after the setState operation is done
replace this date completely instead of the default merge action
none of the above
What is the communication protocol of Web and API servers
IP
HTML
HTTP
WebSocket
A URL(Uniform Resource Locator) is ______
a standardized address used to identify and locate resources on the internet.
a standardized address used to identify and locate traffic on the internet.
a standardized address used to identify and locate points on the internet.
a standardized address used to identify and locate ports on the internet.
What are the principles of REST API
Resource-based
Stateless
Uniform Interface
All of the options
API(Application Programming Interface) is a general concept that referes to a set of rules and protocols that allow different software application to ______
communicate and interact with each other
communicate and interact with the Graphical User Interfacer(GUI)
communicate and interact with the Command Line Interface(CLI)
communicate and interact with the binary executable file
To listen for connections, what function would you use?
app.listen
app.serve
app.connect
app.start
One of these is used to send a JSON object to the client
res.send()
res.json()
res.status()
res.render()
What method do we use to apply a middleware in express
app.use(middleware)
app.apply(middleware)
app.config(middleware)
app.render(middleware)
Which component ends the request cycle provided all business logic are met?
Middleware
Controller
Request Hanlder
None of the options
We want to get the records for all users, but we want only their names. Choose the right option?
select * from users
select id from users
select from users where name
select name from users
Which MongoDB update method updates a single document matching the specified criteria
updateOne()
updateMany()
update()
findOneAndUpdate()
What is the purpose of the find method in MongoDB?
To update documents in a collection
To delete documents from a collection
To insert documents into a collection
To query documents in a collection
The analysis phase ____________________
Determines what the program will do
Determines how the program will work
Determines whether or not the program works
Adds new features to the delivered program
Which of the following is not a software development process model
Waterfall model
Risk Identification model
Spiral model
Non of the above
Fill in the blank.
We store all these information into something call _________ which has Tables that includes rows and columns.
API
database
client
JSON
The software development approach that is characterised by distinct stages is the:
waterfall approach.
rapid application development approach.
prototyping approach.
end user approach.
