Blog

Some Important Unix Commands

Some Important Unix Commands File Commands ls – directory listing ls -al – formatted listing with hidden files cd dir – change directory to dir cd – change to home pwd – show current directory mkdir dir – create a directory dir rm file – …

Some Important Unix Question and Answer

Some Important Unix Question and Answer What is the Architecture of Unix ? Explain with neat diagram? Unix Architecture: Here is a basic block diagram of a UNIX system: The main concept that unites all versions of UNIX is the following four basics: Kernel: The …

Data Structure Algorithm | DSA | Programs Solved

Data Structure Algorithm | DSA | Programs Solved SINGLY LINKED LIST   //Include Header Files   #include<stdio.h> #include<conio.h> #include<malloc.h>   //Function Declarations   void insertAtBegin(int); void insertAtEnd(int); void insertInBetween(int);   void deleteAtBegin(); void deleteAtEnd(); void deleteInBetweenPos(); void deleteInBetweenKey();   void reverse(); void sort();   void …

Calculate Circle Area using radius | Java Solved

Calculate Circle Area using radius | Java Solved Calculate Circle Area using radius /* This program shows how to calculate area of circle using it’s radius. */ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class CalculateCircleAreaExample { public static void main(String[] args) { int radius …

Nested Switch | Java Solved

Nested Switch | Java Solved /* Statements Example This example shows how to use nested switch statements in a java program. */ public class NestedSwitchExample { public static void main(String[] args) { /* * Like any other Java statements, switch statements * can also be …

Palindrome Number | Java Solved

Palindrome Number | Java Solved Palindrome Number /* This program shows how to check for in the given list of numbers whether each number is palindrome or not */ public class JavaPalindromeNumberExample { public static void main(String[] args) { //array of numbers to be checked …

Fibonacci Series | Java Solved

Fibonacci Series | Java Solved /* Fibonacci Series Java Example This Fibonacci Series Java Example shows how to create and print Fibonacci Series using Java. */ public class JavaFibonacciSeriesExample { public static void main(String[] args) { //number of elements to generate in a series int …

Object Oriented Programming Questions & Answers | OOP | MCQ

Object Oriented Programming | OOP | MCQ Q 1. What is the output of the following StringBuffer sb1 = new StringBuffer(“Amit”); StringBuffer sb2= new StringBuffer(“Amit”); String ss1 = “Amit”; System.out.println(sb1==sb2); System.out.println(sb1.equals(sb2)); System.out.println(sb1.equals(ss1)); System.out.println(“Poddar”.substring(3)); Ans: a) false false false dar b) false true false Poddar c) …

Object Oriented Programming Questions & Answers | OOP | MCQ

Object Oriented Programming | OOP | MCQ Software consists of programs, or sets of instructions, that tell the computer to perform certain processing functions. System software is the collection of software that controls the basic functions of the computer. That is, it coordinates the interaction …

Advanced Programming Technique Questions & Answers | APT | MCQ

Advanced Programming Technique | APT | MCQ When the package body only changed then all other objects in body are invalidated no objects invalidated only the sand alone procedure that calling the object get invalidated head is invalidated Ans: (a) class A { final int …