NEW
Font size
WorksheetsPython Full Stack Developer preparation basic 0.01
Total questions: 60
Worksheet time: 30mins
Which of the following is immutable in Python?
List
Dictionary
Set
Tuple
What is the output of type([])?
Which keyword is used to handle exceptions?
catch
handle
try
error
What does len() do?
Counts characters
Returns memory size
Returns number of elements
Sorts elements
Which operator is used for floor division?
/
%
//
What is the output of bool("")?
True
False
Error
None
Which data type stores key-value pairs?
List
Tuple
Dictionary
Set
What does pass keyword do?
Terminates loop
Skips execution
Does nothing
Raises error
How do you start a comment in Python?
//
#
/**
Which function converts string to integer?
str()
int()
float()
eval()
What is the scope of a variable defined inside a function?
Global
Local
Static
Universal
Which keyword creates a generator?
return
yield
break
pass
Which collection does not allow duplicate values?
List
Tuple
Dictionary
Set
What is the output of `3 2`?
6
9
8
12
Which file extension is used for Python files?
`.pt`
`.pyt`
`.py`
`.python`
Django follows which architecture?
MVC
MVP
MVT
MVVM
Which Django component interacts with the database?
Views
Templates
Models
URLs
Which command creates a Django project?
`django start`
`django-admin startproject`
`python create project`
`startdjango`
Flask is best described as:
Full-stack framework
Heavy framework
Micro-framework
Frontend framework
Which HTTP method is used to retrieve data?
POST
PUT
GET
DELETE
What does ORM stand for?
Object Relational Mapping
Object Resource Manager
Open Relational Model
Online Record Mapping
Django REST Framework is mainly used for:
UI design
Database optimization
API development
Testing
Which file maps URLs to views in Django?
views.py
models.py
urls.py
admin.py
Flask templates use which engine?
Mako
Jinja2
Django Templates
Blade
Which status code means “Not Found”?
200
301
404
500
What is CSRF protection used for?
Performance
Authentication
Prevent fake requests
Logging
Which command runs Django server?
`python startserver`
`django run`
`python manage.py runserver`
`run django`
JWT is mainly used for:
UI rendering
Authorization
Logging
Database
Which Flask decorator defines routes?
`@flask.route()`
`@route()`
`@app.route()`
`@url()`
REST stands for:
Reliable Server Transfer
Representational State Transfer
Resource State Transfer
Remote Server Technology
HTML stands for:
High Text Machine Language
Hyper Text Markup Language
Hyperlinks Text Mark Language
Home Tool Markup Language
Which CSS property controls layout alignment?
margin
padding
flex
position
JavaScript is a:
Compiled language
Markup language
Interpreted language
Assembly language
Which tag is used to include JavaScript?
React is mainly used for:
Backend logic
Database
UI development
Server configuration
JSX stands for:
Java Syntax XML
JavaScript XML
JSON XML
JavaScript Xtreme
Which hook manages state in React?
useEffect
useRef
useState
useContext
Which keyword declares a constant in JS?
var
let
const
static
Which CSS unit is relative?
px
cm
em
in
DOM stands for:
Data Object Model
Document Object Model
Digital Object Model
Document Order Map
Which method fetches API data in JS?
request()
fetch()
call()
get()
React components must start with:
lowercase letter
number
uppercase letter
symbol
Which HTML tag is used for forms?
``
`
``
`
CSS Grid is mainly used for:
Animations
Typography
Layout design
Colors
Which JS feature handles async operations?
for loop
callbacks/promises
arrays
objects
Which SQL command retrieves data?
INSERT
UPDATE
DELETE
SELECT
Which database is NoSQL?
MySQL
PostgreSQL
MongoDB
Oracle
Primary key ensures:
Duplicate records
Fast queries only
Unique identification
Sorting
Which command creates a Git repository?
git start
git create
git init
git repo
Which Git command uploads code to remote?
git pull
git commit
git push
git add
Docker is used for:
UI testing
Virtual machines
Containerization
Version control
Which file defines Docker image instructions?
docker.txt
image.yml
Dockerfile
container.json
Which cloud service runs virtual servers?
AWS S3
AWS EC2
AWS RDS
AWS Lambda
Which tool manages Python dependencies?
npm
pip
yarn
gradle
Redis is mainly used for:
Frontend
Caching
Logging
UI
Which OS is most used for deployment?
Windows
macOS
Linux
DOS
CI/CD means:
Code Integration & Coding
Continuous Integration & Deployment
Cloud Integration Design
Code Improvement Debugging
Nginx is mainly a:
Database
Web server
Language
Framework
Which command checks running Docker containers?
docker images
docker ps
docker start
docker build
Which skill is MOST important for a full stack role?
Only frontend
Only backend
End-to-end application knowledge
Only database
