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 More

Software Engineering Cheat Sheet: Time, Data Size & Complexity

Software Engineering Reference Cheat Sheet

Time Conversion

UnitDaysHoursMinutesSeconds (s)Milliseconds (ms)Microseconds (μs)Nanoseconds (ns)
1 Day1241,44086,40086,400,00086,400,000,00086,400,000,000,000
1 Hour1/241603,6003,600,0003,600,000,0003,600,000,000,000
1 Minute1/1,4401/6016060,00060,000,00060,000,000,000
1 Second1/86,4001/3,6001/6011,0001,000,0001,000,000,000
1 Millisecond1/86,400,0001/3,600,0001/60,0000.00111,0001,000,000
1 Microsecond1/86,400,000,0001/3,600,000,0001/60,000,0000.0000010.00111,
Read More

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 More

Java 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 %>

Read More

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.

Read More

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:

  1. Contiguous Allocation
  2. Linked Allocation
  3. 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