Saturday 3 June 2017

Division Flipper Using CSS


Division Flipper Using CSS

Girfa

Student Help

Full Code : 

<html>
<head>
    <title>Girfa : Flip Effect </title>
    <style>
        .flip-container {
     perspective: 500px;
}
     /* flip the pane when hovered */
     .flip-container:hover .flipper, .flip-container.hover .flipper {
           transform: rotateY(180deg);

Friday 2 June 2017

Write a C program that displays the recommended actions depending on the color of a traffic light using the switch statement.

Q : Write a C program that displays the recommended actions depending on the color of a traffic light using the switch statement.

Solution : 

void main (void)
{
   char colour;

Thursday 1 June 2017

Define void data type and write any three use of it.

Q : Define void data type and write any three use of it.

The data type void actually refers to an object that does not have a value of any type. Void is also used to indicate when a function does not return a value or no argument. Such a function is used for its side effect and not for its value. In the function declaration and definition, we have indicated that the function does not return a value by using the data type void to show an empty type, i.e. no value. Similarly, when a function has no formal parameters, the keyword void is used in the function prototype and header to signify that there is no information passed to the function.


What is dangling pointer in C? What is wild pointer in C? Give example.

Q : What is dangling pointer in C? What is wild pointer in C? Give example?

Dangling  Pointer

Dangling or wild is a pointer which does not point valid object. When a pointer has declared it must be assign a valid address memory address otherwise it will point some location which is not valid. These are special cases of memory safety violations. More generally, dangling references and wild references are references that do not resolve to a valid destination.

Void main()
{
          int *pt;
          {
                   int c=10;
                   pt=&c;
       
  }
          printf("\n\t%d",*pt);
}

Sunday 28 May 2017

Setting Combo-box Value and Display Data with VB.Net

I was working on a Brokerage Calculation project where I need to load a table’s data into combo box as in the form of value member and display member because a combo-box store two value ID which not shown at drop down list but reside in combo-box .
We need to Set/Get data through value because it’s mostly primary key and  display mode for display 
field. Take a look on following code:

Dim con As New OleDbConnection(getconstr)
Dim da As New OleDbDataAdapter(sql, con)

Friday 26 May 2017

What are merits and demerits of array in C?

Q : What are merits and demerits of array in C?

Why we need an array.

We need array when there is a need to process more than data with similar type. For example 
  • Taking marks of 10 student needs of ten integer 
  • Taking name of more than one character 
  • Structure record and many more

Criteria mentioned above can also be achieved through variable , but variables have following drawback which lead to use array instead of Variable.
  • Each variable must has unique name which increase complexity when a large number of variables need to make. 
  • Each variable load in memory at random order. So if you want to process all variable then you need to process each variable individually because allocation of space is not continuous.

For understand the above point you need to imagine a real life example.

Two close friend group decided to watch a movie and they follow two different approaches as follows


  • Friends in Group one purchase ticket individually without any coordination between them for seating arrangement 
  • Friend in group two book seats continuously i.e. seats no 1 to 10.
So Group two can make better communication than group one. In same way array works.

Advantage

  • Continuous memory allocation.
  • Process a collection of similar data type.
  • Can be used to make data structure like stack,tree,queue etc.
  • Easy to visit each element using index.

Disadvantage

  • Static memory allocation 
  • Due to static memory allocation number of element cannot be increase nor decrease at run time.
  • The elements of array are stored in consecutive memory locations. So insertions and deletions are very difficult and time consuming.

Write a C program to find size of structure without using sizeof operator.

Q  : Write a C program to find size of structure without using sizeof operator.

#include<stdio.h>
#include<conio.h>
struct stu
{
     int roll;
     char name[20];
     float marks[3];
};

Write a C program to find the square root of a given quadratic equation.

Q1 : Write a C program to find the square root of a given quadratic equation.
#include <math.h>

int main()
{
    double a, b, c, determinant, root1,root2, realPart, imaginaryPart;

    printf("Enter coefficients a, b and c: ");
    scanf("%lf %lf %lf",&a, &b, &c);

    determinant = b*b-4*a*c;

Wednesday 24 May 2017

Write a C program to print given number of terms of a Fibonacci series.

Q 1 :  Write a C program to print given number of terms of a Fibonacci series.

Solution : 

#include<stdio.h>
void main()
{
    int a,b,c;
   c=1;
   a=0;

Write a C program to read a line and print it reverse using recursive function.

Q : Write a C program to read a line and print it reverse using recursive function.

Solution : 


#include<stdio.h>
#include<string.h>
#include<process.h>
void print(int len,char str[])
{
int n=len;
if(n==-1)
exit(1);

Sunday 7 May 2017

Call by value Call by reference



Call by value

The call by value method of passing arguments to a function copies the actual value of an argument into the formal parameter of the function. In this case, changes made to the parameter inside the function have no effect on the argument.

Wednesday 3 May 2017

Customized web page print using Java Script




Printing a webpage is another important aspect of web development. If you skip this section then when your user will be print a page then it will print as it is, which not good for all case because we add a lot of formatting images on webpage. So all the things on the page will get printed that will be worse.

Customizing web page output is good practice to make a webpage. Because what we see on web page we don’t need to take output on paper same format so customization is mandatory.


Following example will print table as with custom header.


Roll Name City
101 Sona Vns
102 Amit Alld
103 Sumi Alld
104 Rakesh Vns
105 Jyoti alld

Saturday 29 April 2017

Stock and Bill Management Project

Stock and Bill Management Project

I have made this project for your practice only this is live project running in whole sale shoes shop. You can use this project as your course final project because I have seen many students who buy project from market or internet so I made this project online for download every one with free of cost. I also suggest student who’re going to make this project as their course project, please take a look on project and understand what the flow of this project working model are. I don’t want to make use this project as shortcut to only submitting your project. No! This is wrong so try to learn some live coding from this project. 

Commercial use of this project without consent  is prohibited.

Project Description


This helps to manage stock and billing of a whole shale shop. Primary this project was design for a shoes shop but it can be apply the business which sells some company project which has further some sub type. All the entry left blank. So you can create your own entry. Some demo records are in download database for sake for understood of project work flow. One you will be understands work flow then you customize this project as your requirement.

Friday 28 April 2017

Inheritance OOP


Inheritance OOP Banner

Inheritance (Object Oriented Programming)


In object-oriented programming,Inheritance allows us to define a class which is based on another class, which makes it easier to create and maintain an application. This also provides an opportunity to reuse the code functionality and fast implementation time.The derived class is also called subclass and the base class is also known as super-class. The derived class can add its own additional variables and methods. These additional variable and methods differentiates the derived class from the base class.inheritance saves our money and time both because we use predefined compile and tested class which increase quality of software.

Tuesday 25 April 2017

Function Pointer



   Function pointer is a type of pointer which points a function or code block. You can assign address of a function to function pointer variable and that function using function pointer variable name.


   I have a bad experience while making Calculator. In my design all the calculation takes place when user pressed equal button. When a user pressed equal button I need to check every time which operator user was pressed , checked by switch case, it become complicated then I increase more function in my calculator because of lots condition for operator check and attached code for particular logic separately.


   Now my work becomes simple because of function pointer because I just need to check operator pressed by user and attached related function code to function pointer. It reduces lots of condition checking and assigns separate code to each section. So function pointer is very useful in some specific scenario.


Advantage of function pointer

  • Implement Callback
  • Useful in event handling
  • One entry point for more than one code block

Monday 24 April 2017

C language function precedence


Question :


Which of the following is the correct order if calling functions in the below code?a = f1(23, 14) * f2(12/4) + f3();

A) f1, f2, f3
B) f3, f2, f1
C) Order may vary from compiler to compiler
D) None of the above

NIELIT O Level C Language Solve Paper July-15

NIELIT O Level C Language Solve Paper with Answer July-15

1 Objective

1.1 A
Explanation : See operator priority table 
1.2: A
1.3 : C
Explanation : Continue statement transfer control to start of loop and when condition will be wrong else stops loop So string will be printed 0 times because its after else statement.

Sunday 23 April 2017

Microsoft Word Mail Merge

Microsoft Word Mail Merge

Microsoft Word Mail Merge Tutorial in Hindi

Microsoft word has mail merge feature which enable you to make a letter to a huge number of people in an efficient way. Without using mail merge its very

Thursday 13 April 2017

SQL Join Graphics Representation

Inner JOIN



Left JOIN

Tuesday 11 April 2017

O Level Solve Paper Jan 16

O Level Solved Paper

January, 2016 M4.1-R4: APPLICATION OF .NET TECHNOLOGY

Solved Paper

Objective Type Answer


1.1 : B
1.2 : C
1.3: D
1.4 : A
Explanation : Supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.
1.5 : D
Explanation : The IHttpHandlerFactory interface creates and manages HTTP handlers for processing requests. Therefore, you can create a class that implements the IHttpHandlerFactory interface, and then use that class as an HTTP handler.

Sunday 9 April 2017

NIELIT A Level Solve Paper 
Java -July-2016
A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA


PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR”answer sheet supplied with the question paper, following instructions therein. (1x10)
1.1 Which of the following class is a superclass that declares the common features of GUI
components in packages java.awt and javax.swing?
A) Component
B) Container
C) Panel
D) Frame

Java Solved Paper







NIELIT A Level Solve Paper
Core Java January, 2016
A10.1-R4: INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING THROUGH JAVA

PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)
1.1 Which of the following is valid long literal?
A) 0x99fffL
B) ABCDEFG
C) 0x99fffa
D) 99671246

NIELIT A Level Solve Paper
Core Java Solved July, 2015
A10.1-R4: INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING THROUGH JAVA

PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)
1.1 What does the expression 1.0 / 0.0 return?
A) Double.NaN
B) 0.0
C) Run time exception is generated
D) Double.INFINITY

Friday 7 April 2017

Java Sample Paper




NIELIT A Level Java Soled Paper
January, 2015
A10.1-R4: INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING THROUGH JAVA


PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)
1.1 Which one of the following is not an AWT Event class?
A) MenuEvent
B) MouseEvent
C) ActionEvent
D) InputEvent

Thursday 6 April 2017

Java Solved Paper

NIELIT A LEVEL Java Solve Paper
July, 2014
A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA

PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)

1.1 Which of the following is possible in a class if class is declared as an abstract?
A) Instance block
B) Static block
C) Final method
D) All of the above

Java Solved Paper

NIELIT Java Sample Paper Solved
July, 2013
A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA

PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)

1.1 Which is a valid key word in Java?
A) Integer
B) unsigned
C) string
D) class

Wednesday 5 April 2017

Java Solved Paper

NIELIT A Level Solve Paper

January-2013

A10.1-R4: INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING THROUGH JAVA


PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “tear-off” answer sheet attached to the question paper, following instructions therein. (1x10)
1.1 The basic design strategies embedded in object-oriented programming is/are
A) Abstraction
B) Composition
C) Generalization
D) All of the above

Tuesday 4 April 2017

NIELIT A Level Java Solve Paper Jan-14

 January, 2014
A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA


PART ONE

(Answer all the questions)


1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein. (1x10)


1.1 Methods used to obtain information about an object are known as

A) accessor methods

B) setter methods

C) mutator methods

D) none of the above

NIELIT A Level Java Solve Paper July-12

 July, 2012
A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA


PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “tear-off” answer sheet attached to the question paper, following instructions therein. (1x10)

1.1 In UML diagram of a class
A) state of object cannot be represented
B) state is irrelevant
C) state is represented as an attribute
D) state is represented as a result of an operation

Monday 3 April 2017

What is MAN

NIELIT O Level Solved Paper
Internet and Web Technology


Q: Define MAN. Write down three important features that discriminate MAN from WAN.

A metropolitan area network (MAN) is a network that connect users with computer resources in a geographic area or region larger than that covered by even a large local area network (LAN) but smaller than the area covered by a wide area network (WAN). The term is applied to the interconnection of networks in a city into a single larger network (which may then also offer efficient connection to a wide area network). It is also used to mean the interconnection of several local area networks by bridging them with backbone lines. The latter usage is also sometimes referred to as a campus network.

What is Topology

Nielit O Level Solved Paper
Internet and Web Design

Q: Explain in brief: Bus, Star and Ring Network Topologies

Physical and logical arrangement of devices with a network is known as Topology.


Bus Topology

A bus topology is a network setup in which each computer and network device are connected to a single cable or backbone.A signal from the source is broadcasted and it travels to all workstations connected to bus cable. Although the message is broadcasted but only the intended recipient, whose MAC address or IP address matches, accepts it. If the MAC /IP address of machine doesn’t match with the intended address, machine discards the signal.

Saturday 1 April 2017

Microsoft Word Table Index

Microsoft Word Table Index Hindi Tutorial

Microsoft Word Table Index,Table of content and reference Tab in HIndi

Microsoft word has reference tab which enable you to male table of index,table of content,Figure Index and many more cover in this video.

Friday 31 March 2017

Describe the ISDN

Q 5 (a). Describe the ISDN ?

Describe the ISDN ?


Integrated Services Digital Network (ISDN)

Integrated Services Digital Network (ISDN) is a telephone system network. It is a wide area network which is widely available. Before to the ISDN, the telephone system was viewed as a way to transport only voice, with some special services available for data. The key feature of the ISDN is that it integrates speech and data on the same lines, adding features that were not available in the classic telephone system.

Tuesday 28 March 2017

Database relationship

Database relationship

Microsoft Access is an example of relational database. In relational data base we can join a table to more than one table which makes relationship. With this capability our access database becomes more powerful than non-relational data base category. Consistency of database become easy and easily achieve by database on automatically.  If you want to make relationship in access database then you need at least two tables and one field must be common in both tables. For example, we are going to make relationship between two tables’ student and canteen. Student table store record of student and canteen stores what the products students are having. So in this type of relationship student is master table and canteen is related table. So student table need a primary key which uniquely identified a record from student table. Canteen table must have a key which match the data type of student table primary key which further known as foreign key.

Monday 27 March 2017

January 2016 M2-R4 INTERNET TECHNOLOGY AND WEB DESIGN

January 2016  INTERNET TECHNOLOGY AND WEB DESIGN

Answer Key

Core Java Assignment 25

Core Java Assignment 25


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 25


Some combined bath-showers have two faucets and a lever for controlling the flow of the
water. The lever controls whether the water flows from the showerhead or directly into the
tub. When the water is first turned on, it flows directly into the tub. When the lever is

Core Java Assignment 24

Core Java Assignment 24

A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 24



A simple digital watch has a display and two buttons to set it, the “A” button and the “B”
button. The watch has two modes of operation, display time and set time. In the display
time mode, hours and minutes are displayed, separated by a flashing colon. The set time
mode has two sub-modes, set hours and set minutes. The “A” button is used to select

Core Java Assignment 23


Core Java Assignment 23


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 23


The direction control for some of the first toy electric trains was accomplished by
interrupting the power to the train. Prepare state diagrams for the headlight and wheels of
the train, corresponding to the following scenario:

Power is off, train is not moving.
Power is turned on, train moves forward and train headlight shines.
Power in turned off, train stops and headlight goes out.

Core Java Assignment 22

Core Java Assignment 22


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 22



Prepare a class diagram from the instance diagram in the following figure

Core Java Assignment 21

Core Java Assignment 21


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 21


The following is a partial taxonomy of rotating electrical machines. Electrical machines may
be categorized for analysis purposes into alternating current (ac) or direct current (dc).
Some machines run on ac, some on dc, and some will run on either. An ac machine may
be synchronous or induction. A few examples of electrical machines include large
synchronous motors, small induction motors, universal motors, and permanent magnet
motors. Most motors found in the homes are usually induction machines or universal
motors. Universal motors are typically used in where high speed is needed such as in
blenders or vacuum cleaners. They will run on either “AC” or “DC”. Permanent magnet
motors are frequently used in toys and will work only on dc.

Core Java Assignment 20

Core Java Assignment 20


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 20


Draw use case diagram for the parking ticket payment system .The information for the
system is given below:
     a) Patrol Officer enters ticket information. (ticket status = unpaid)
     b) Ticket Holder views her ticket by ticket number. (ticket status = unpaid)

Core Java Assignment 19

Core Java Assignment 19

A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 19



Write a java program to draw a Mandelbrot, which is a collection of points in the plane
whose boundary forms a fractal.

Core Java Assignment 18

vCore Java Assignment 18


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 18


Write a program using inheritance that should be able to draw a circle, Ellipse, square,
rectangle, parallelogram and a rhombus when relevant dimensions are read in e.g. a circle 

Core Java Assignment 17

Core Java Assignment 17

A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 17


Create a layout prototype of Ms-Paint in Java swing using menu

Core Java Assignment 16

Core Java Assignment 16


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 16

Create an application that creates a ball which bounces with the help of thread in Graphics.

Core Java Assignment 15

Core Java Assignment 15


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 15


The Indian Airlines has launched a fast transportation service, using their supersonic passenger airplanes. You are hired by the Indian Airlines for maintaining their database. It contains only a single table, called Route, which holds all pairs of cities with a directed connection, the distance between them, and the type of aircraft used for that trip. An example table is given below:

Sunday 26 March 2017

Microsoft Word : Page Layout Hindi Tutorial

Microsoft Word : Page Layout Hindi Tutorial

Microsoft Word : Page Layout Hindi Tutorial
Thems,Page Setup, Page Background,Paragraph,Arrange

Thursday 23 March 2017

Optical Illusion

In optical illusion mind send signal whatever it interpret at first look mind create an image by its entire surrounding image. Some time surround image background prevents our mind to accept truth.

An optical illusion (also called a visual illusion) is an illusion caused by the visual system and characterized by visually perceived images that differ from objective reality. The information gathered by the eye is processed in the brain to give a perceptive that does not tally with a physical measurement of the stimulus source.

optical illusion

Wednesday 22 March 2017

Microsoft Word : Graphics Hindi Tutorial

Microsoft Word : Graphics,Chart,Autoshape,Smart Art Hindi Tutorial

Microsoft Word : Graphics,Chart,Auto shape,Smart Art Hindi Tutorial

Tuesday 21 March 2017

Microsoft Word : Table Hindi Tutorial

Microsoft Word : Table Tutorial Hindi

Microsoft Word : Table Tutorial Hindi

Monday 20 March 2017

Microsoft Word Hindi Tutorial

Microsoft Word Hindi Tutorial insert menu

Microsoft Word Hindi Tutorial insert menu part 1

Sunday 19 March 2017

Core Java Assignment 14


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 14



Create table with the following structure:
Userid         Character         10
Password      Character        10
Primary Key-Userid

Now design a login form(connected to database using jdbc) and show a welcome message if userid and password combination is correct, otherwise display an error message.

Core Java Assignment 13


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 13


Create the following form using java applet/Swing and the text in text box should be formatted as per the selections:

Saturday 18 March 2017

Microsoft Word Text Selection

Microsoft Word Text Selection Video Tutorial in Hindi

Microsoft Word Text Selection Video Tutorial in Hindi

Microsoft Word Printing

Microsoft Word Printing Video Tutorial in Hindi

Microsoft Word Printing Video Tutorial in Hindi


Microsoft Word Home Tab

Microsoft Word Home Tab Tutorial in Hindi

Microsoft Word Home Tab Tutorial in Hindi

Microsoft Word Introduction

Microsoft Word Introduction in hindi

Microsoft Word Introduction. Video Tutorial in Hindi

Tuesday 14 March 2017

Wysiwyg Editor

Wysiwyg Editor

WYSIWYG  is an acronym for "what you see is what you get". In computing, a WYSIWYG editor is a system in which content (text and graphics) can be edited in a form closely resembling its appearance when printed or displayed as a finished product, such as a printed document, web page, or slide presentation.

<?php 
$msg="";
if(isset($_POST['save']))
{
$string = str_replace(' ', '-', $_POST['fn']); // Replaces all spaces with h

Core Java Assignment 12


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 12

a) Make a table with your friend’s details in it.
b) Column One, your friends names

Core Java Assignment 11


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 11


Design the above webpage in which the links for courses should be in the same page with
the following details:

Short term Courses.
Doeacc Center offers following short-term courses
a) Use of Personal Computer

Core Java Assignment 10

A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 10


Design the following web page using HTML Tags:

Core Java Assignment 9


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 9

Design the form using HTML tags.