Bihar STET Paper 2 Computer Science covers important concepts from Web Development, Theory of Computation, E-Commerce, Multimedia, Internet of Things, and Artificial Intelligence.
These notes are designed for quick revision and objective-type exam preparation.
1. Web Development
Internet
The Internet is a global network of interconnected computer networks that communicate using standard protocols such as TCP/IP.
World Wide Web
WWW stands for World Wide Web. It is a service that operates over the Internet and provides access to interconnected web pages and online resources.
Web Browser
A web browser is software used to access and display web pages.
Examples:
Google Chrome
Mozilla Firefox
Microsoft Edge
Safari
Web Server
A web server stores, processes, and delivers web resources to clients over HTTP or HTTPS.
Website
A website is a collection of related web pages and resources available under a common domain.
Web Page
A web page is a document that can be displayed in a web browser. It is commonly created using HTML, CSS, and JavaScript.
URL
URL stands for Uniform Resource Locator.
It specifies the location of a resource on the Internet.
Example:
https://www.example.com/page.html
Important URL components include:
Protocol
Domain name
Port
Path
Query parameters
Fragment
HTTP
HTTP stands for HyperText Transfer Protocol.
It is used for communication between web clients and web servers.
HTTPS
HTTPS stands for HyperText Transfer Protocol Secure.
It uses TLS to protect data exchanged between a client and server.
Remember:
HTTP = Standard web communication
HTTPS = HTTP secured using TLS
2. HTML
HTML stands for HyperText Markup Language.
HTML is used to define the structure and content of web pages.
Important HTML elements include:
html - Root element
head - Contains metadata
title - Defines the document title
body - Contains visible content
h1 to h6 - Headings
p - Paragraph
a - Hyperlink
img - Image
ul - Unordered list
ol - Ordered list
li - List item
table - Table
form - Form
Key Point:
HTML is mainly responsible for the structure of a web page.
3. CSS
CSS stands for Cascading Style Sheets.
CSS is used to control the appearance and presentation of HTML documents.
CSS can control:
Colors
Fonts
Spacing
Borders
Alignment
Layout
Responsive design
Animations
Types of CSS
Inline CSS
Internal CSS
External CSS
Remember:
HTML = Structure
CSS = Presentation
JavaScript = Behavior
4. JavaScript
JavaScript is a programming language widely used to add dynamic behavior and interactivity to web pages.
Common uses include:
Form validation
Event handling
DOM manipulation
Dynamic content
Interactive interfaces
Client-side calculations
JavaScript commonly runs in web browsers and can also be used on servers with technologies such as Node.js.
5. Client-Side and Server-Side Scripting
Client-Side
Client-side code mainly executes in the user's web browser.
Examples:
HTML
CSS
JavaScript
Server-Side
Server-side code executes on the web server.
Examples:
PHP
Python
Java
Node.js
Server-side programming is commonly used for:
Database operations
Authentication
Business logic
Generating dynamic responses
6. Theory of Computation
Theory of Computation deals with mathematical models of computation and the problems that can be solved using those models.
Important topics include:
Alphabet
Strings
Languages
Finite Automata
Regular Expressions
Grammars
Pushdown Automata
Turing Machines
7. Alphabet
An alphabet is a finite, non-empty set of symbols.
It is generally represented by the symbol Sigma.
Example:
Sigma = {0, 1}
8. String
A string is a finite sequence of symbols taken from an alphabet.
Example:
If the alphabet is {a, b}, then:
abba
is a string over that alphabet.
Length of a String
The length of a string is the number of symbols in the string.
Example:
x = abc
Length of x = 3
Empty String
The empty string is represented by epsilon.
Its length is zero.
Remember:
Empty string = epsilon
Empty set = empty set symbol
They are different concepts.
9. Language
A language is a set of strings over an alphabet.
Example:
L = {a, ab, abb, abbb}
This is a language over the alphabet {a, b}.
10. Finite Automata
Finite Automata are mathematical models used to recognize patterns and regular languages.
Two important types are:
DFA
NFA
DFA
DFA stands for Deterministic Finite Automaton.
A DFA consists of:
Set of states
Input alphabet
Transition function
Initial state
Final states
For every state and input symbol, a DFA has exactly one next state.
NFA
NFA stands for Nondeterministic Finite Automaton.
An NFA may have:
Multiple possible transitions
No transition for a particular input
Epsilon transitions in common NFA formulations
Important Point:
DFA and NFA have the same computational power.
Both recognize regular languages.
11. Regular Expressions
A Regular Expression is a formal notation used to describe patterns and regular languages.
Important operations include:
Union
Concatenation
Kleene Star
Kleene Star
For the expression:
a*
the language contains:
epsilon, a, aa, aaa, and so on.
Important Relationship:
Regular Expression = Regular Language = Finite Automaton
These describe the same class of languages.
12. Context-Free Grammar
A grammar defines how strings of a language can be generated.
A grammar is commonly represented using four components:
Variables or non-terminals
Terminals
Production rules
Start symbol
A Context-Free Grammar, or CFG, is used to describe context-free languages.
CFGs are important in:
Programming language syntax
Parsing
Compiler design
13. Pushdown Automaton
PDA stands for Pushdown Automaton.
A PDA is similar to a finite automaton but has an additional stack.
The stack provides additional memory.
A PDA is used to recognize Context-Free Languages.
Remember:
Finite Automaton -> Regular Languages
Pushdown Automaton -> Context-Free Languages
14. Turing Machine
A Turing Machine is a mathematical model of computation.
Its basic components include:
Tape
Read/write head
States
Transition rules
The tape provides memory on which the machine can read and write symbols.
A Turing Machine is more powerful than finite automata and pushdown automata as a model of computation.
Simplified hierarchy:
Finite Automaton -> Pushdown Automaton -> Turing Machine
15. E-Commerce
E-Commerce stands for Electronic Commerce.
It refers to buying and selling goods or services using electronic networks, especially the Internet.
Examples include:
Online shopping
Online banking
Digital payments
Online ticket booking
Online marketplaces
16. Types of E-Commerce
B2C
B2C stands for Business to Consumer.
A business sells products or services directly to consumers.
B2B
B2B stands for Business to Business.
Transactions take place between businesses.
C2C
C2C stands for Consumer to Consumer.
One consumer sells products or services to another consumer.
C2B
C2B stands for Consumer to Business.
An individual provides products or services to a business.
B2G
B2G stands for Business to Government.
A business provides products or services to a government organization.
17. Advantages of E-Commerce
Important advantages include:
24x7 availability
Global reach
Convenient shopping
Faster transactions
Wider product selection
Easy price comparison
Reduced geographical limitations
18. Limitations of E-Commerce
Important limitations include:
Security risks
Privacy concerns
Internet dependency
Delivery delays
Technical failures
Online fraud
Lack of physical inspection before purchase
19. E-Commerce Security
Authentication
Authentication verifies the identity of a user.
Example:
Username and password.
Authorization
Authorization determines what an authenticated user is allowed to access or perform.
Remember:
Authentication = Who are you?
Authorization = What are you allowed to do?
Encryption
Encryption converts readable data into an encoded form to protect it from unauthorized access.
Digital Signature
A digital signature helps verify the authenticity and integrity of digitally signed information.
HTTPS and TLS
HTTPS uses TLS to protect communication between a client and server.
Firewall
A firewall monitors and controls network traffic according to defined security rules.
20. Multimedia
Multimedia refers to the use of multiple forms of media to present information.
Major components include:
Text
Images
Audio
Video
Animation
21. Raster and Vector Graphics
Raster Graphics
Raster images are composed of pixels.
Examples:
JPEG
PNG
GIF
BMP
Raster images may lose quality when enlarged significantly.
Vector Graphics
Vector graphics are based on mathematical paths, lines, and shapes.
Example:
SVG
Vector graphics can generally be scaled without the same pixelation associated with raster images.
Remember:
Raster = Pixels
Vector = Paths and Shapes
22. Audio
Digital audio represents sound using numerical samples.
Common audio formats include:
MP3
WAV
AAC
Sampling
Sampling is the process of measuring an analog signal at regular intervals to represent it digitally.
Sampling rate is generally measured in samples per second or Hertz.
23. Video
Digital video is generally represented as a sequence of frames displayed over time.
Important video concepts include:
Frame rate
Resolution
Bit rate
Compression
Codec
Container
MP4
MP4 is primarily a multimedia container format.
H.264 and H.265
H.264 and H.265 are video compression standards commonly used for video encoding.
Remember:
MP4 = Container
H.264 and H.265 = Video codecs
24. Animation
Animation creates the appearance of movement by displaying a sequence of images or frames.
Types include:
2D Animation
3D Animation
Applications include:
Games
Education
Films
Presentations
Simulations
Websites
25. Internet of Things
IoT stands for Internet of Things.
IoT refers to a network of physical objects equipped with sensors, software, processing capabilities, and connectivity.
These devices can collect and exchange data.
Examples:
Smart watches
Smart home devices
Connected vehicles
Industrial sensors
Smart agriculture systems
26. IoT Architecture
A simplified IoT architecture can be represented as:
Sensors -> Network -> Processing -> Application
Sensors
Sensors collect information from the physical environment.
Examples:
Temperature sensor
Motion sensor
Light sensor
Humidity sensor
Network
IoT devices can communicate using:
Wi-Fi
Bluetooth
Cellular networks
Zigbee
LoRaWAN
Processing
IoT data can be processed using:
Edge devices
Gateways
Cloud platforms
Application
Processed data can be used for:
Monitoring
Automation
Alerts
Decision-making
Control
27. Characteristics of IoT
Important characteristics include:
Connectivity
Sensing
Data exchange
Automation
Remote monitoring
Scalability
Intelligence
Heterogeneity
28. IoT Applications
Smart Home
Examples:
Smart lights
Smart locks
Smart thermostats
Security systems
Healthcare
Examples:
Remote patient monitoring
Wearable devices
Health sensors
Agriculture
Examples:
Soil monitoring
Smart irrigation
Weather monitoring
Industry
Examples:
Predictive maintenance
Machine monitoring
Industrial automation
Smart City
Examples:
Traffic monitoring
Smart parking
Waste management
Environmental monitoring
29. IoT Challenges
Important challenges include:
Security
Privacy
Interoperability
Scalability
Power consumption
Reliability
Device management
Data management
30. Artificial Intelligence
Artificial Intelligence, or AI, is a field of computer science concerned with developing systems that can perform tasks associated with human intelligence.
These tasks may include:
Learning
Reasoning
Problem solving
Perception
Language processing
Decision-making
31. Applications of AI
AI is used in:
Search engines
Recommendation systems
Chatbots
Healthcare
Robotics
Fraud detection
Autonomous systems
Image recognition
Speech recognition
32. Machine Learning
Machine Learning, or ML, is a subfield of Artificial Intelligence.
Machine Learning enables systems to learn patterns from data and use those patterns to make predictions or decisions.
Important relationship:
AI -> Machine Learning -> Deep Learning
33. Supervised Learning
Supervised Learning uses labeled data for training.
Important tasks include:
Classification
Regression
Classification
Classification predicts a category or class.
Examples:
Spam or Not Spam
Pass or Fail
Regression
Regression predicts a numerical value.
Examples:
House price
Temperature
Sales prediction
34. Unsupervised Learning
Unsupervised Learning works with unlabeled data.
Common techniques include:
Clustering
Dimensionality reduction
Association analysis
Clustering
Clustering groups similar data points together.
Example:
Grouping customers according to purchasing behavior.
35. Reinforcement Learning
Reinforcement Learning involves an agent interacting with an environment.
The agent receives feedback in the form of rewards or penalties.
The objective is to learn a strategy that maximizes cumulative reward over time.
Important terms:
Agent = Decision-maker
Environment = World in which the agent operates
Reward = Feedback received by the agent
36. Artificial Neural Network
ANN stands for Artificial Neural Network.
An ANN is a computational model inspired by biological neural networks.
Basic layers include:
Input Layer
Hidden Layer
Output Layer
ANNs are used for:
Classification
Prediction
Pattern recognition
Image processing
Speech processing
37. Natural Language Processing
NLP stands for Natural Language Processing.
NLP deals with the interaction between computers and human language.
Applications include:
Chatbots
Machine translation
Sentiment analysis
Text classification
Question answering
Speech-related systems
38. Computer Vision
Computer Vision enables computers to analyze and interpret visual information from images and videos.
Applications include:
Face recognition
Object detection
Medical image analysis
Autonomous vehicles
Image classification
39. Expert System
An Expert System is an AI-based system designed to provide solutions or recommendations in a specific domain.
The two important components are:
Knowledge Base
Contains domain-specific facts and rules.
Inference Engine
Uses rules and available information to derive conclusions.
Remember:
Expert System = Knowledge Base + Inference Engine
Bihar STET Computer Science Quick Revision
Web Technologies
HTML = Structure
CSS = Presentation
JavaScript = Behavior and Interactivity
HTTP = Web Communication Protocol
HTTPS = Secure HTTP using TLS
URL = Location of a Web Resource
Theory of Computation
Alphabet = Finite set of symbols
String = Finite sequence of symbols
Epsilon = Empty string
Language = Set of strings
DFA = Deterministic Finite Automaton
NFA = Nondeterministic Finite Automaton
Regular Language = Recognized by Finite Automata
CFG = Context-Free Grammar
PDA = Pushdown Automaton
Turing Machine = General mathematical model of computation
E-Commerce
B2C = Business to Consumer
B2B = Business to Business
C2C = Consumer to Consumer
C2B = Consumer to Business
B2G = Business to Government
Authentication = Identity verification
Authorization = Permission control
Encryption = Data protection
Multimedia
Raster = Pixel-based
Vector = Path-based
MP4 = Multimedia container
H.264 = Video codec
H.265 = Video codec
Sampling = Measuring an analog signal at regular intervals
IoT
IoT = Internet of Things
Basic architecture:
Sensors -> Network -> Processing -> Application
Important characteristics:
Connectivity
Sensing
Automation
Remote monitoring
Scalability
Data exchange
Artificial Intelligence
AI = Artificial Intelligence
ML = Machine Learning
DL = Deep Learning
AI -> ML -> DL
Supervised Learning = Labeled data
Unsupervised Learning = Unlabeled data
Reinforcement Learning = Rewards and penalties
ANN = Artificial Neural Network
NLP = Natural Language Processing
Computer Vision = Analysis of images and videos
Expert System = Knowledge Base + Inference Engine
Most Important Topics for Bihar STET
For quick revision, give special attention to:
HTML, CSS and JavaScript
HTTP and HTTPS
Client-side and server-side scripting
Alphabet, String and Language
DFA and NFA
Regular Expressions
CFG and PDA
Turing Machine
E-Commerce models
Authentication and Authorization
Raster and Vector graphics
Multimedia formats and codecs
IoT architecture
IoT applications and challenges
Artificial Intelligence
Machine Learning
Supervised and Unsupervised Learning
Reinforcement Learning
Artificial Neural Networks
NLP and Computer Vision
Expert Systems
Final Revision Tip
For Bihar STET Computer Science, focus on definitions, differences, classifications, examples, and relationships between important concepts.
The most effective last-minute strategy is to revise the quick-revision section repeatedly and practice MCQs based on these topics.