Category: Uncategorized

Features of Object Oriented Paradigm

Inheritance Encapsulation Abstraction Polymorphism Method Overriding Method Overloading Objects Classes Constructors and Destructors Inheritance Inheritance is a feature to reuse the existing class without makin any changes in it. Syntax: InheritingClass : InheritedClass In above program, Beta class inherited Papa class. 2. Encapsulation Encapsulation is defined as binding together the data and the functions that […]

How to install compiler for code blocks

Step 01: Search the web for :MinGW-get-setup.exe Step 02: Download the setup Step 03: Install the setup Step 04: Copy the installation path, it will requir in code block. Step 05: Select the package as required. Step 06: Go to Installation -> Apply changes. Step 07: Open Code Block -> Settings -> Compiler -> Selected […]

Object Oriented Programming & Methodolog Viva Voce

What do you mean by object-oriented thinking ? Object oriented thinking involves writing of classes, which represents objects in problem domains. For example, Writing a program for student management, than we can create object studentm fee reciept, attendance, etc. What is Object Oriented Programming ? The programming which involves use of classes and objects. Some […]

Paging

Paging divides physical memory into equal-sized groupings called “blocks,” which can range from 64 to 4096 words each. ‘Page’ denotes groupings of identical address space, whereas ‘block’ denotes memory space organisation. 

Define a class to declare an integer array of size n and accept the elements into the array.

import java.util.Scanner;class LinearSearch{public static void main(String args[]){int c, n, search, array[];Scanner in = new Scanner(System.in);System.out.println(“Enter number of elements”);n = in.nextlnt();array= new int[n];System.out.println(“Enter those” +n+ “elements”);for (c = 0; c < n; c++)array[c] = in.nextlnt();System.out.println(“Enter value to find”);search = in.nextlnt();for (c = 0; c < n; c++){if (array[c] = search) /Searching element is present/{System.out.println(array[c]);break;}}if (c = […]

Machine Learning Quick Reference

Introduction to machine learning Machine learning is about extracting knowledge from data. Machine learning is a form of artificial intelligence (AI) that teaches computers to think in a similar way to how humans do: Learning and improving upon past experiences. Scope and limitations Regression Probability Statistics and linear algebra for machine learning Convex optimization Data […]

Java program use of String

public class StringConstructor {             public static void main (String args[]){                         char  arr[ ] = { ‘x’, ‘y’, ‘z’};                         String st = new String ( arr );                         System.out.println(st);                         } } public class Arith {             String fname =“TSPC”;             String lname = “TSGI”;             void show(){                         System.out.println(“The full name is […]

Java program method overloaing

PROGRAM: To show method overloading . /**         * @Prof. Jayesh         * Here method overloading is shown, differed in parameters.         */ class ContainsMethods { void display(char gender) {      System.out.println(“gender= “+gender); } void display(char gender, int age) {      System.out.println(“Gender=” +gender + “,Age= “+age); } } public class MethodOverloading {    public static […]

Stack Data Structure

Stack is a data structure.Stack is non primitive data structure.Stack is linear data structure.Stack is an ordered list.Stack do push and pop operation from TOS (top of stack).Stack is LIFO (Last In First Out) type. What is TOS (Top of Stack)?Ans. The base of stack is fixed.Top of stack increases with PUSH operations.Top of stack […]

Array implementation of Stack

include int stack[100],n,selection,top=-1,i;int push(){int element;if(top==n){printf(“Stack overflow”);}else{printf(“Enter element to push”);scanf(“%d”,&element);top = top + 1;stack[top] = element;}return 0;}int pop(){if(top==-1){printf(“Stack is empty, cant pop”);}else{top = top-1;}return 0;}int showElement(){for(i=top;i>=0;i=i-1){printf(“%d”,stack[i]);}if(top==-1){printf(“\nStack is empty, no element to show”);}return 0;}int main(){printf(“\nEnter number of elements in stack”);scanf(“%d”,&n); }return 0;} Output:

Infix to Postfix expression

Infix expression : A+(B*C-(D/E↑F)*ε)*H Put operands values in to output column Put non operands valued in to stack column On inserting closing parenthesis ‘)’ into stack POP and PUSH elements between ( ) to the output column from right to left scan. After scanning all the shymbols in expression, POP all the values from stack and […]

RGPV Solved Papers

Theory of Computation RGPV TOC June 2020 RGPV TOC May 2018 Database Management System RGPV DBMS November 2019 RGPV DBMS November 2018  RGPV DBMS December 2017 RGPV DBMS June 2016 Cloud Computing RGPV CC June 2020 RGPV CC May 2019 RGPV CC December 2017 RGPV CC December 2016 RGPV CC December 2015 RGPV CC June 2015 […]

Mirroring and Striping

STRIPING & MIRRORING: Stripping and Mirroring, are the terms used in RAID technology. To know more about RAID technology click here… When you use striping to write data to the hard disk drives in a RAID array, you divide the data and stores each parts on different drives. RAID Level 0 is the example of […]

DAVV MBA: Business Communication

UNIT I Define communication and its objectives in a business set up Definition: Business communication is the process of sharing information between people within and outside a company. Objectives in a business set up: To exchange information To develop a plan To implement a plan To facilitate policy formulation To achieve an organizational goal To […]

closure properties of regular languages

Q. What do you mean by closure properties of regular languages? Define some important Closure properties. Ans. Closure properties: A set is closed under an operation if applying that operation to any members of the set always yields a member of the set. Closure under Kleene: The set of regular languages is closed under each […]

Functional programming languages

FUNCTIONAL PROGRAMMING LANGUAGES Functional programming languages are specially designed to handle symbolic computation and list processing applications.  Functional programming is based on mathematical functions.  Some of the popular functional programming languages include: Lisp,Python,Haskell, etc. Functional programming category: 1. Pure Functional Languages 2. Impure Functional Languages 1. Pure Functional Languages: These types of functional languages support […]

Virtualization fundamental concept of compute

Virtualization: Fundamental concepts of compute: Virtualization in cloud computing is making a virtual image of the storage devices servers or network resources so that they can be used on multiple machines at the same time. Types of Virtualization 1. Hardware Virtualization2. Software Virtualization 3. Memory Virtualization 4. Storage Virtualization 5. Data Virtualization 6. Network Virtualization7. […]

GATE Notes

Graduate Aptitude Test Engineering(GATE) NotesComputer Science GATE Minute Notes C Programming Solved Questions Engineering Mathematics Solved Questions Data Structure Solved questions Computer Newtork Solved questions Operating System Solved questions Software Engineering Solved questions DBMS Solved questions Computer Organization Solved questions Discrete Structure Solved questions Theory of Computation Solved questions Number System GATE Others

UGC NET Notes

UGC NETNotes Computer Science and Applications UGC NET Solved Papers Data Structure Solved questions Computer Newtork Solved questions Operating System Solved questions Software Engineering Solved questions DBMS Solved questions Operating System Solved questions Computer Organization Solved questions Discrete Structure Solved questions Number System Theory of Computation Solved questions

UGC NET Paper 1 December 2012

UGC NET Paper 1 June 2012Q1. Video-Conferencing can be classified as one of the following types of communication : (A) Visual one way (B) Audio-Visual one way (C) Audio-Visual two way (D) Visual two way Ans: (C) Q2. MC National University of Journalism and Communication is located at (A) Lucknow (B) Bhopal (C) Chennai (D) […]