Posts

Showing posts from 2013

Happy New Year

2013 WISH YOU HAPPY AND PROSPEROUS NEW YEAR Welcome to 2014 Make this year with full of joy and happiness in this world. Let there be peace, growth and mankind with enjoyment this year. Think always Positive to change the world. Think Good and big to become Big. Thanks God. May God bless you. Happy New year 2014 Again 365 days starts in looping.

Programs of microprocessor

Microprocessor cannot understand a program written in Assembly Language . Instruction are divided into bit pattern of word in byte as op-code(operation code) and operation Instruction format has three types 1.One byte-has op-code 2.Two byte- has op-code and address 3.Three byte -has code and address lower byte and address higher byte opcode 1 byte opcode Data / address 2 byte opcode Data / address Lower byte Data Address Higher byte 3 byte Instructions set for 8085 are classified into five categories: 1.Data transfer group instructions 2.Arithmetic group of instrructions 3.Logical group 4.Branching group 5.Machine Level A program known in Assembler is used to covert a Assembly language program to machine language. I) Data transfer copy operation:- 1)Load a 8 bit number in a register 2)Copy from Register to Register 3)Copy between Register and Memory 4)Copy between Input/Output Port and Accumulator 5)Load a 16 bit number in a Register pair 6) Cop...

Solve

SOLVE  1) Find the odd man out - 49,  81 ,100 ,144 A) 49 B) 81 C) 100 D) 144 2)Which of the following numbers is different from others? A) 3156 B) 4164 C) 5255 D) 6366 3)Fill the blank 5,35,7,42,6 ,_____,9,36,4. A) 45 B) 48 C) 54 D) 56  4)Find odd man out :DFEG,  JKLM,   GHIK,   RTSU A) DFEG B)JKLM C)GHIK D)RTSU 5) find odd man out 1,3,10,21,64,129,256,778 1) 10 2) 21 3) 129 4) 256 6)The missing number in the series is: 0 , 6 , 24 , 60 , 120 , ? , 336 is A) 240 B) 220 C) 280 D)210 7)Let a means minus (-) ,b means multiplied by (*), C means divided by (/) and D means plus(+).The value of 90 D 9 a 29 C 10 b 2 A) 8 B) 10 C) 12 D) 14 8)If MOHAN is represented by the code KMFYL, then COUNT will be represented by A) AMSLR B) MSLR C) MASRL D)SAMLR 9)  32     33      37    46     62    ? Replace ...

More C++ programs

//Program to display Floyd triangle:- #include<iostream.h> main() {     int line,i,num=1,incr;     cout<<" How many lines = ";     cin>>line;     cout<<"\n \n Floyds Triangle \n \n";     for(i=1;i<=line;i++)     {         for(incr=1;incr<=i;incr++)         {             cout<<num;             cout<<"\t";             num++;         }         cout<<"\n";     } } Output:- How many lines = 7 Floyds triangle 1 2           3 4           5     ...

Solve the sums of Quiz

1) Find the odd man out - 49,  81 ,100 ,144 2)Which of the following numbers is different from others? A) 3156 B) 4164 C) 5255 D) 6366 3)Fill the blank 5,35,7,42,6 ,_____,9,36,4. A) 45 B) 48 C) 54 D) 56  4)Find odd man out :DFEG,  JKLM,   GHIK,   RTSU 5) find odd man out 1,3,10,21,64,129,256,778 1) 10 2) 21 3) 129 4) 256 6)The missing number in the series is: 0 , 6 , 24 , 60 , 120 , ? , 336 is A) 240     B) 220     C) 280         D)210 7)Let a means minus (-) ,b means multiplied by (*), C means divided by (/) and D means plus(+).The value of 90 D 9 a 29 C 10 b 2 a) 8     b)  10     c) 12   d) 14 8)If MOHAN is represented by the code KMFYL, then COUNT will be represented by A) AMSLR     B) MSLR      C) MASRL       ...

Database- SQL

Your browser does not support the HTML5 canvas tag. SQL stands for structured Query Language.  SQL is an ANSI  (i.e. American National Standards Institute  ) standard computer language for accessing and manipulating database systems. SQl statements are used to retrieve and update data in a database. SQL works with database programs like MS Access ,DB2,Informix ,MS SQL Server, Oracle ,Sybase,etc. The first version ,initially called SEQUEL,was designed to manipulate and retrieve data  SQL is a Non - procedural query language. Sometimes referred to as a Database Gateway Language as an ANSI made it a standard language for all DBMS. SQL commands are divided into following categories:- 1)Data Definition Language-                    It uses create,alter,drop,truncate 2)Data Manipulation Language -                   ...

Mathematics

Enter any number in the below text box and get the multiplication table of that number after clicking on the button next to it. MULTIPLICATION TABLES Do addition of any two numbers by entering the numbers below: ADDITION + Do subtraction of any two numbers by entering the numbers below: SUBTRACTION - Do division of any two numbers by entering the numbers below: DIVISION / Do multiplication of any two numbers by entering the numbers below: MULTIPLICATION * Number Prefix Symbol 10 1 deka- da 10 2 hecto- h 10 3 kilo- k 10 6 mega- M 10 9 giga- G 10 12 tera- T 10 15 peta- P 10 18 exa- E 10 21 zeta- Z 10 24 yotta- Y Number Prefix Symbol 10 -1 hecto- h 10 -2 kilo- k 10 -3 mega- M 10 -6 giga- G 10 -9 tera- T 10 -12 peta- P 10 -1...

Cryptography and Security

Your browser does not support the HTML5 canvas tag. Cryptography is the art and science of achieving security by encoding messages to make them non-readable. Cryptanalysis is the technique of decoding messages from a non-readable format back to readable format without knowing how they were initially converted from readable format to non-readable format. Cryptology is a combination of cryptography and cryptanalysis. Principles of Security:- 1)Confidentiality 2)Integrity 3)Authentication 4)Access control 5)Availability 6)Non-repudiation 7)Ethical and legal issues Types of attacks:- 1)General attacks-Criminal attacks,publicity attacks,legal attacks 2)Technical view-a)Theoretical concepts- I)Passive attacks-i)release of message contents ii)traffic analysis II)Active attacks-i)Interception,ii)Fabrication,iii)Modification,iv)Interruption 3)Program attack- a)Virus- A virus is a computer program that attaches itself to another legitimate program and causes damage to the...

My Biz card

Image

Logic Gates

Image
The logic gates have one or many input and only one output.The gates used to form integrated circuits (IC's) for digital circuit with combination and sequential of gates.this gates are of mainly 6 types .The three are basic gates and others are the prepared from basic gates called as derived gates.They are as follow:- I ) Basic gates :-                                i ) OR gate                                ii) AND gate                                iii)NOT gate II) Derived gates :-         ...

Number System

Number System The number system of a number is determined by the Radix of a number.Radix means the base of the number which is obtained by the number of symbols present in that number System.They are as follow:-   Sr.No. Number System Radix Symbols 1. Binary number System 2 0,1 2. Octal Number System 8 0,1,2,3,4,5,6,7 3. Decimal Number System 10 0,1,2,3,4,5,6,7,8,9 4. Hexadecimal Number System 16 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F 1.Binary Number System:- The number System with Radix 2 are said to be binary numbers.It contains only 2 symbols 0 and 1.For Examples (1110) 2 ,(1001) 2 ,(1101) 2 ,(1010) 2 ,(1010.111) 2 ,etc. 2.Octal Number System:- The number System with Radix 8 are said to be octal numbers.It contains 8 symbols 0,1,2,3,4,5,6 and 7.For Examples (257) 2 ,(346) 8 ,(412) 8 ,(728) 8 ,(72.39) 8 ,etc. 3.Decimal Number System:- The number System with Radix 10 are said to be decimal numbers.It contains 10 symbols 0,1,2,3,4,5,6,7,8 and 9.For Examples (123) 10 ,(7...

Visual Basic Examples

Image
Program 1:- To create Visual Basic application to find the area of rectangle. Code:-  Private Sub Command1_Click() Text3.Text = Text1.Text * Text2.Text End Sub Private Sub Command2_Click() Text1.Text = " " Text2.Text = " " Text3.Text = " " End Sub /*************************Output**************************/ Program 2:- To create Visual Basic application to average of 3 numbers. Design Window:- Code:- Private Sub Command1_Click() Text4.Text = Str((Val(Text1.Text) + Val(Text2.Text) + Val(Text3.Text)) / 3) End Sub Private Sub Command2_Click() Text1.Text = " " Text2.Text = " " Text3.Text = " " Text4.Text = " " End Sub Private Sub Command3_Click() Unload Me End Sub /*************************Output**************************/ Program 3: To create Visual Basic application to illustrate Date-Time functions. Code:- Private Sub Command1_Click () Text1.Text = Dat...

Qiuz Try It

Quiz :- 1. What does HTML stand for? Hyper Text Markup Language Home Tool Markup Language Hyperlinks and Text Markup Language Click here to Submit 2. Who is making the Web standards? Google The World Wide Web Consortium Microsoft Click here to Submit 3.Choose the correct HTML tag for the smallest heading:- <h6> <heading> <h1> Click here to Submit 4. What is the correct HTML tag for drawing horizontal line? <lb> <br> <hr> Click here to Submit 5.Inside which HTML element do we put the JavaScript? <script> <js> <javascript> Click here to Submit 6What is the correct JavaScript syntax to write "Hello World"? response.write("Hello World"); document.write("Hello World"); echo "Hello World"; Click here to Submit 7.Where is the correct place to insert a JavaScript? Both the <head> section and the <body> section are correct ...

Javascript Examples

Example1.html :- <HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript"> function Hello() { alert("Hello,Welcome and  have a good day."); } </SCRIPT> </HEAD> <BODY> <INPUT TYPE="button" NAME="Button" VALUE="Press me" onClick="Hello()"> </BODY> </HTML> Output :- Example2.html :- <HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript"> function Name()     {         var answer = prompt("What is your name?", "");         if (answer)         alert("God bless You, " + answer);     } </SCRIPT> </HEAD> <BODY> <INPUT TYPE="button" NAME="Button" VALUE="Press me" onClick="Name() "> </BODY> </HTML> Output:- Example3.html:- <html> <body> <p>This example calls a function which performs a calculation, and ...