Firewalls, Antivirus, Encryption, Access Control and IDS in Secure Environments
Discuss Firewalls, Antivirus, Encryption, Access Control, and IDS in a Secure Environment (10 Marks)
A secure information environment protects data, devices, networks, and applications from unauthorised access, malware, theft, and disruption. Multiple layers of security are used because no single control can prevent every attack.
1. Firewalls
A firewall filters network traffic using security rules. It can restrict unauthorised connections, inspect connection state, support network segmentation, and
Read MoreSoftware Engineering Cheat Sheet: Time, Data Size & Complexity
Software Engineering Reference Cheat Sheet
Time Conversion
| Unit | Days | Hours | Minutes | Seconds (s) | Milliseconds (ms) | Microseconds (μs) | Nanoseconds (ns) |
|---|---|---|---|---|---|---|---|
| 1 Day | 1 | 24 | 1,440 | 86,400 | 86,400,000 | 86,400,000,000 | 86,400,000,000,000 |
| 1 Hour | 1/24 | 1 | 60 | 3,600 | 3,600,000 | 3,600,000,000 | 3,600,000,000,000 |
| 1 Minute | 1/1,440 | 1/60 | 1 | 60 | 60,000 | 60,000,000 | 60,000,000,000 |
| 1 Second | 1/86,400 | 1/3,600 | 1/60 | 1 | 1,000 | 1,000,000 | 1,000,000,000 |
| 1 Millisecond | 1/86,400,000 | 1/3,600,000 | 1/60,000 | 0.001 | 1 | 1,000 | 1,000,000 |
| 1 Microsecond | 1/86,400,000,000 | 1/3,600,000,000 | 1/60,000,000 | 0.000001 | 0.001 | 1 | 1, |
Java Classes, Inheritance, DOM, JSP and Animation Practicals
Practical 1: Program on Class and Object in Java
Practical 1: Program on Class and Object in Java
class Student {
String name;
int rollNo;
Student(String name, int rollNo) {
this.name = name;
this.rollNo = rollNo;
}
static void displayInfo(Student student) {
System.out.println(“Student Name: ” + student.name);
System.out.println(“Roll Number: ” + student.rollNo);
}
}
class Main {
public static void main(String[] args) {
Student student1 = new Student(
Read MoreJava OOP, File Handling & JSP Practicals Guide Code Examples
<%
String name = request.getParameter(“userName”);
String bdate = request.getParameter(“birthDate”);
String email = request.getParameter(“emailAddr”);
int lucky = Integer.parseInt(request.getParameter(“luckyNo”));
%>
User Information Summary
Name: <%= name %>
BirthDate: <%= bdate %>
EMail: <%= email %>
Lucky Number: <%= lucky %>
Java and JavaScript Lab Experiments: Classes, Inheritance, JSP and DOM
Experiment 1: Classes, Objects, Looping, and Branching in Java
Aim: To write a Java program demonstrating classes, objects, looping, and branching statements.
Code:
class Calculator {
int add(int a, int b) {
return a + b;
}
}
public class Exp1 {
public static void main(String[] args) {
Calculator calc = new Calculator();
// Branching (if-else)
int num = 10;
if (num > 0) {
System.out.println(num + ” is positive.”);
} else {
System.
File Allocation Techniques in Operating System: Contiguous, Linked and Indexed
Explain Different File Allocation Techniques
(7 Marks Answer – Operating System)
Sabse pehle Hindi mein samjho 😊
File Allocation Techniques ka matlab hai hard disk mein files ko store karne ke liye disk blocks ko allocate karne ka tarika.
Operating System mein 3 main File Allocation Techniques hoti hain:
- Contiguous Allocation
- Linked Allocation
- Indexed Allocation
1. Contiguous Allocation
Definition: In this technique, ek file ke sabhi blocks disk mein continuously (ek ke baad ek) store hote hain.
Example:
Read More