wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Pre Assessment backend

Total questions: 33

Worksheet time: 27mins

Name
Class
Date
1.
Which of the following data types is NOT commonly used in backend programming?
a)
string
b)
boolean
c)
style
d)
number
2.
What is the purpose of using loops in programming?
a)
To store data
b)
To manage files
c)
To define variables
d)
To repeat a block of code multiple times
3.
Which keyword is used to define a function in JavaScript?
a)
func
b)
def
c)
function
d)
create
4.
Which of the following is a valid conditional statement in JavaScript?
a)
if (x > 0) { ... }
b)
while (x > 0) { ... }
c)
for (let i = 0; i < 10; i++) { ... }
d)
switch x:
5.
How do you declare a constant in JavaScript?
a)
var
b)
let
c)
const
d)
static
6.
Which data structure uses a key-value pair for storing data?
a)
Array
b)
Object
c)
linked list
d)
stacked
7.
Which of these data structures works on the principle of Last In, First Out (LIFO)?
a)
Queue
b)
stack
c)
array
d)
set
8.
What is the time complexity of accessing an element in an array by index?
a)
O(1)
b)
O(n)
c)
O(log n)
d)
O(n^2)
9.
Which data structure is commonly used for implementing a queue?
a)
Stack
b)
Linked list
c)
Tree
d)
Hash table
10.
What is a linked list?
a)
A collection of elements with a fixed size
b)
) A sequence of nodes where each node points to the next node
c)
A data structure that uses key-value pairs
d)
A stack-based structure
11.
Which of the following is a NoSQL database?
a)
MySQL
b)
PostgreSQL
c)
MongoDB
d)
SQLite
12.
What does SQL stand for?
a)
Standard Query Language
b)
Sequential Query Language
c)
Structured Query Language
d)
Simple Query Language
13.
Which command is used to retrieve data from a SQL database?
a)
SELECT
b)
INSERT
c)
UPDATE
d)
DELETE
14.
In MongoDB, which method is used to add a new document to a collection?
a)
insertData()
b)
insertOne()
c)
addDocument()
d)
insertRow()
15.
Which of the following databases is relational?
a)
MySQL
b)
MongoDB
c)
Redis
d)
Neo4j
16.
Which HTTP method is used to update an existing resource?
a)
GET
b)
POST
c)
PUT
d)
DELETE
17.
What does a 500 HTTP status code indicate?
a)
OK
b)
Bad request
c)
Internal Server Error
d)
Not found
18.
Which header is used to specify the format of the response data in an HTTP request?
a)
Content-Type
b)
Accept-Encoding
c)
Authorization
d)
Cache-Control
19.
What is the default port for HTTP?
a)
21
b)
22
c)
80
d)
443
20.
Which of these protocols is used to secure HTTP requests?
a)
HTTPS
b)
FTP
c)
SMTP
d)
SFTP
21.
What is an API?
a)
Application Process Interface
b)
Application Programming Interface
c)
Application Port Integration
d)
None of the above
22.
Which of the following is NOT a backend framework?
a)
React.js
b)
Express.js
c)
Django
d)
Flask
23.
What is the primary role of a backend in web development?
a)
Styling web pages
b)
Handling server-side logic and database interactions
c)
Rendering the user interface
d)
Creating static web pages
24.
Which protocol is used by RESTful APIs?
a)
FTP
b)
SMTP
c)
HTTP
d)
SNMP
25.
Which of the following is a popular backend runtime environment?
a)
Angular
b)
Bootstrap
c)
Node.js
d)
Vue.js
26.
Which command is used to initialize a new Git repository?
a)
git start
b)
git init
c)
git create
d)
git new
27.
How do you create a new branch in Git?
a)
git add branch
b)
git create branch
c)
git branch <branch-name>
d)
git new branch
28.
Which command is used to stage changes in Git?
a)
git commit
b)
git add
c)
git push
d)
None of the above
29.
What is the purpose of a pull request in Git?
a)
To delete a branch
b)
To revert changes
c)
To commit changes
d)
To merge changes from a feature branch into the main branch
30.
Which platform is commonly used for hosting Git repositories?
a)
GitHub
b)
Heroku
c)
MongoDB atlas
d)
Docker
31.

Name

4 lines
32.

Email?

4 lines
33.

Phone No?

4 lines