Posts

Showing posts from May, 2020

OS Assignments

NM CA2 Ans

Java Programs and Outputs

Image
Program 1: display simple “Hello JAVA” Message. Input: class Hsimple { public static void main(String args[]) { System.out.println("Hello JAVA"); } } Output: Program 2: perform basic arithmetic Operation in java. Input: class Basicmath { public static void main(String args[]) { System.out.println("\t\tArithmatic Operator\n"); System.out.println("Integer Arithmatic"); int a = 1+1; int b = a*3; int c = b/4; int d = c-a; int e = -d; System.out.println("a = " +a); System.out.println("b = " +b); System.out.println("c = " +c); System.out.println("d = " +d); System.out.println("e = " +e); } } Output:                          Program 3: Implementation of Class, Object & Methods in java. Input: class Box { double width; double height; double depth; } class BoxDemo{ pub...

Java CA2 Ans

Red Colour indicate the answer is partially correct .

DAA Assignments

OS CA2 Ans

PS CA2 Ans

Java Mid Ans

DAA CA2 MCQ Ans

DAA Mid Ans

OS Mid Ans and Quiz

  OS Quiz

Knapsack Problem Using Greedy Algorithms

Image
Watch video Knapsack Problem using Greedy Algorithms

Greedy Method

Image
Watch video for greedy method

Longest Common Subsequence

Image
Watch video for Longest Common Subsequence

Four Queens Problem using Backtracking

Image
Watch video for Four-Queens Problem using Backtracking

Merge Sort

Image
                                    Merge sort Quiz    Watch video for Merge Sort

Quick Sort

Image
Watch video for Quick Sort

Selection Sort

Image
Watch Video for Selection Sort

Sorting

Image
Watch video for Sorting

Insertion Sort

Image
Watch video for Insertion Sort

Bubble Sort

Image
Watch video for Bubble Sort

Merge Sort Quiz

Merge Sort Quize