NEW
Font size
S
M
L
XL
Worksheetsמבחן בקיאות
Total questions: 50
Worksheet time: 4hrs 10mins
Name
Class
Date
1.
What is the primary purpose of a JWT (JSON Web Token)?
a)
Encrypting files for secure storage
b)
Generating session IDs on the server
c)
Managing DNS settings
d)
Sending authenticated information between client and server
2.
Which of the following is a valid part of a JWT structure?
a)
Header, Session, Token
b)
UserID, Password, Token
c)
Cookie, Payload, Footer
d)
Header, Payload, Signature
3.
What is the difference between Authentication and Authorization?
a)
Authentication is checking permissions; Authorization is verifying identity
b)
They are the same in OAuth2
c)
Authentication uses passwords; Authorization does not
d)
Authentication is logging in; Authorization is granting access rights
4.
What is the role of OAuth2 in modern web applications?
a)
Encrypting user passwords
b)
Providing secure database connections
c)
Creating SSL certificates
d)
Allowing users to grant access without sharing credentials
5.
What is a Bearer Token used for?
a)
Granting access to the user’s email account
b)
Handling multi-factor authentication
c)
Signing up new users to a web application
d)
Authenticating HTTP requests to secured APIs
6.
What is the main purpose of Spring Framework?
a)
To replace Java with Kotlin
b)
To manage hardware resources
c)
To design user interfaces in JavaFX
d)
To simplify Java development by managing dependencies and configuration
7.
Which annotation is used to define a class as a Spring-managed component?
a)
@Main
b)
@Inject
c)
@Define
d)
@Component
8.
What does the @Autowired annotation do?
a)
Starts the application
b)
Configures database settings
c)
Initializes variables
d)
Injects dependencies into Spring-managed beans
9.
Which layer contains the business logic in a Spring application?
a)
Controller
b)
Repository
c)
Model
d)
Service
10.
What is the purpose of Spring Boot?
a)
To add animations to Java apps
b)
To increase JVM performance
c)
To manage API security
d)
To simplify Spring configuration and enable quick application setup
11.
What is AWS Lambda used for?
a)
Hosting relational databases
b)
Monitoring website traffic
c)
Sending emails
d)
Running code in response to events without managing servers
12.
What is a 'Cold Start' in AWS Lambda?
a)
A server crash
b)
Loss of database connection
c)
Network timeout
d)
The delay when a Lambda function is initialized for the first time
13.
Which service is typically used with Lambda to expose REST APIs?
a)
S3
b)
CloudWatch
c)
RDS
d)
API Gateway
14.
How is AWS Lambda priced?
a)
By storage usage
b)
By uptime hours
c)
By data transfer volume only
d)
By the number of requests and execution time
15.
What does IAM Role provide for Lambda functions?
a)
A GUI interface
b)
Database connections
c)
Free tier usage
d)
Permissions to access AWS resources
16.
What is the main feature of Java that allows the same code to run on multiple platforms?
a)
Garbage collection
b)
Strong typing
c)
Object-oriented syntax
d)
Platform independence
17.
What is the purpose of the 'final' keyword in Java?
a)
To mark a variable as optional
b)
To run code at the end of execution
c)
To signal an exception
d)
To define constants and prevent modifications
18.
Which keyword is used to inherit from a class in Java?
a)
implements
b)
inherits
c)
super
d)
extends
19.
Which method is the entry point of any Java application?
a)
start()
b)
init()
c)
run()
d)
main()
20.
What is the Java Virtual Machine (JVM)?
a)
A compiler that translates Java into C++
b)
A debugger for Java
c)
An IDE for Java development
d)
A virtual environment that executes Java bytecode
21.
What does SQL stand for?
a)
Simple Query Logic
b)
Standard Question Language
c)
System Query List
d)
Structured Query Language
22.
Which command is used to retrieve data from a database?
a)
INSERT
b)
UPDATE
c)
DELETE
d)
SELECT
23.
What is a primary key?
a)
A key that allows foreign data access
b)
A key that stores encrypted values
c)
A default password
d)
A unique identifier for each record in a table
24.
Which clause is used to filter results in a SQL query?
a)
ORDER BY
b)
GROUP BY
c)
LIMIT
d)
WHERE
25.
What does the JOIN operation do?
a)
Deletes data from multiple tables
b)
Sorts the result set
c)
Creates a new table
d)
Combines rows from two or more tables based on a related column
26.
What is the main purpose of Git?
a)
Database management
b)
Compiling source code
c)
Designing user interfaces
d)
Version control for tracking changes in source code
27.
Which command is used to clone a repository?
a)
git init
b)
git pull
c)
git copy
d)
git clone
28.
What does 'git commit' do?
a)
Uploads code to GitHub
b)
Deletes files from the project
c)
Updates dependencies
d)
Saves changes to the local repository
29.
What is a 'branch' in Git?
a)
A code formatter
b)
A database query
c)
A server configuration
d)
A separate line of development
30.
Which command shows the commit history?
a)
git show
b)
git status
c)
git history
d)
git log
31.
What is Angular primarily used for?
a)
Managing databases
b)
Running backend services
c)
Creating spreadsheets
d)
Building single-page web applications
32.
Which language is primarily used to write Angular applications?
a)
Java
b)
Python
c)
PHP
d)
TypeScript
33.
What does the Angular CLI do?
a)
Compiles Java code
b)
Deploys applications to AWS
c)
Edits database schemas
d)
Generates project files and components
34.
What is a component in Angular?
a)
A CSS file
b)
A database record
c)
A network configuration
d)
A reusable UI block with its logic and template
35.
What is a directive in Angular?
a)
A SQL query
b)
A unit test
c)
A function pointer
d)
A tool to add behavior to DOM elements
36.
What is TypeScript?
a)
A JavaScript framework
b)
A CSS preprocessor
c)
A database language
d)
A statically typed superset of JavaScript
37.
What keyword is used to define an interface in TypeScript?
a)
struct
b)
type
c)
class
d)
interface
38.
Which of the following is a valid TypeScript type?
a)
digit
b)
floaty
c)
int32
d)
number
39.
What does TypeScript compile to?
a)
Java
b)
C++
c)
Python
d)
JavaScript
40.
Which TypeScript feature helps detect errors before runtime?
a)
Async functions
b)
Hoisting
c)
DOM manipulation
d)
Static type checking
41.
What data structure uses FIFO (First In, First Out)?
a)
Stack
b)
Tree
c)
Graph
d)
Queue
42.
Which data structure is used in recursion?
a)
Queue
b)
Array
c)
Linked List
d)
Stack
43.
What is the best case time complexity for searching in a Binary Search Tree?
a)
O(1)
b)
O(n)
c)
O(n log n)
d)
O(log n)
44.
Which structure has nodes with parent-child relationships?
a)
Queue
b)
Hash Table
c)
Stack
d)
Tree
45.
What is the main advantage of a hash table?
a)
Sorted data
b)
Maintains order of insertion
c)
Uses less memory
d)
Fast lookup using keys
46.
Choose the correct sentence:
a)
She go to school every day.
b)
She going to school every day.
c)
She gone to school every day.
d)
She goes to school every day.
47.
What is the past tense of 'run'?
a)
runned
b)
running
c)
runneded
d)
ran
48.
Which word is a synonym of 'quick'?
a)
slow
b)
tall
c)
thin
d)
fast
49.
Fill in the blank: They ___ playing soccer.
a)
is
b)
am
c)
be
d)
are
50.
What is the plural of 'mouse'?
a)
mouses
b)
mouse
c)
mices
d)
mice
Reset
