Nov 23, 2019

C# PROGRAMMING EXAMPLES

C# static class, method and constructor

c# class, C# object, method , c#static class
C# PROGRAMMING EXAMPLES

1.    Write a C# program that takes two numbers and display the product of two numbers.

    class Program
    {
        static void Main(string[ ] args)
        {
             int a,b,pro;
            Console.WriteLine ("input first number=");
            a = int.Parse (Console.ReadLine ( ));
            Console.WriteLine ("input second number=");
            b = int.Parse (Console.ReadLine ( ));
             pro=a*b;
            Console.Write ("product of two number= {0}",pro);
            Console.ReadKey ( );
        }
    }

C++ Programming Examples 2

(Go original page? click here)
c programming examples, c programs
c++ programming examples
      7.       Write a C++ program to accept a number and check the number is even or not. Prints 1 if the number is even or 0 if the number is odd
#include<stdio.h>
#include<conio.h>
void main ()
{
int a, b;
printf (“ Enter a number”);
scanf (“%d”, &a);
b= a % 2;
if (b==0)
printf (“1’);
else
printf (“0”);
getch ();
}

Nov 16, 2019

ADVERB

adverb examples, adverb definition, adverbs list, adverb meaning
adverb

ADVERB:

DEFINITION:

  Adverbs are those words and phrase that modifies the verb, adjective and other adverb”.

EXPLANATION:

  By the word adverb we can understand that adverb by separating ‘ad’ and ‘verb’. That’s ‘ad’ mean adding or modifying, and verb mean word which used to describe an action, state or occurrence. It’s simply mean that adverbs are those words or phrase that add some extra information in any verb or adjective.  Some example that will elaborate the explanation of adverb.

C, C++ and C# Basic alternatives


c sharp, c# list, c# for loop, c#
c++ to c#

C, C++ and C# Basic



Alternative keywords

C and C++
C#
Void main (void)
Static void Main(string [] args)
Printf ()
Console .Write()
Printf(“\n”)
Console. WriteLine()
Scanf
Console. ReadLine
%d, %f, %c
{0}
Getch()
Console .Readkey ()/ Console. Read Line()
Variable ++ = i++ == i= i+1
Variable +=1  == i+=1
Function
Object
float
double
Float + integers
decimal

Nov 9, 2019

PRONOUN

what is pronoun,personal pronouns, indefinite pronouns,possessive pronouns, relative pronouns, pronoun examples
pronoun

PRONOUN:

DEFINITION:

A pronoun is the word or phrase that used in place of noun to overcome the reuse of same noun again and again in a paragraph/statement or essay.”

EXPLANATION:

   Simply we can remember the pronoun from the simple trick separate ‘pro’ and ‘noun’ from pronoun. Where pro means pronounce and noun means name of person, place and things. So now what’s pronoun the words which is pronounce/used in place of noun are called pronoun. Some example that elaborates the pronoun, such as in the place of man’s name we placed ‘he’, in woman’s name placed ‘she’ and the name of non-living things (table, spoon, chairs etc.) we placed ‘it’.

EXAMPLES:

             1.       Muhammad is a good student. He always stood first position in our class. His father is a police officers and mother is a house wife.
             2.       Shahida, my cousin’s wife, she was a good athlete.  Now she runs an athlete institute.
             3.       This is a Shear. It is used to cut cloths, usually tailor use it.    
             4.       Newton was a great scientist. He gave the Newton law of motion.  We should grateful to him.
            5.       Adobe illustrator is graphic software. It is used to illustrate picture and logo. Most of logo created by using it.
  In above example the green highlight words are pronoun because that’s used in place of noun.
Ex. 1 Muhammad is noun and he and his are pronoun. That is used to represent him.
Ex. 2 Shahida is noun and she is pronoun.
demonstrative pronouns, pronoun definition, reflexive pronouns, reflexive pronoun examples, what is a possessive pronoun
pronoun
Ex .3 Shear is noun and it is a pronoun.
Ex .4 Newton is noun and he and his are pronoun.
Ex .5 Adobe illustrator is noun and it is pronoun.

SOME IMPORTANT PRONOUN:

Noun
Pronoun
Self
I, Me, Mine
Man
He , Him
Women
She, Her
Non-living thing
It, This
Plural
We, They, Our, You
Singular
I, Me ,He, She , You
Animal
It, She, He
Country
It

TYPE OF PRONOUN:

There are seven type of pronoun which are,
Sr. #
Type of Pronoun
Pronouns
1
Personal Pronoun
I, He, She, You, They, We, It
2
Reflexive Pronoun
Myself, Yourself, Herself, Himself, Themselves, Itself, ourselves
3
Demonstrative Pronoun
This, These,  Those, That
4
Indefinite Pronoun
One , All, Someone, Many, Other Nobody , Everybody etc.
5
Distributive Pronoun
Each, Either, Neither, Everyone  
6
Relative Pronoun
Who, What, That, Which, Where, Whom etc.
7
Integrative Pronoun
Whom, What, Which, Whose


What is adverb, its definition, explanation and examples and its type?
What are preposition, its definition, and examples and its type?

Nov 5, 2019

50 MS-WORD SHORTCUT KEYS

all shortcut keys of ms word,microsoft word keyboard shortcuts,ms word shortcut keys pdf
all shortcut keys of ms word
microsoft word math symbols shortcuts, shortcut keys of ms word 2007, microsoft office shortcuts
computer shortcut keys




                                     





SR.# Shortcut Key Function/Work
1 Ctrl + O To open an existing document
2 Ctrl + N To open a new document
3 Ctrl + S To save the document being running
4 Ctrl + shifts + S To apply style to words
5Ctrl + BTo bold word or sentences
6Ctrl + ITo italic word or sentences
7Ctrl + UTo underline word or sentences
8Ctrl + shift+ DTo make double underline
9Ctrl + HTo find and replace word or sentences
10Ctrl + J  and Ctrl + LTo make distance between word or sentences
11Ctrl + K To insert hyperlinks
12Ctrl + CTo copy text
13Ctrl + XTo cut text 
14Ctrl + VTo paste text or image outside from word
15Ctrl + FTo open navigation bar
16Ctrl + ATo select all text 
17Ctrl + PTo print a document 
18Ctrl + ZTo undo an action
19Ctrl + YTo redo an action
20Ctrl + M and tab To spacing a specific distance between words
21Ctrl + WTo close a document
22Ctrl + [To decrease size of letter
23Ctrl+ ]To increase size of letter
24Alt + F To open information menu
25Shift + any keyTo write that letter in capital
26Shift + F3 To change text and letter fonts (capital, small)
27F5To open find and replace window
28Ctrl + shift + FTo open font window
29Ctrl + shift + CTo open format printer window
30Ctrl + return To pace page break
31Ctrl + =To input subscript
32Alt + =To input equation
33Alt + Ctrl + DTo Insert end note
34Alt + Ctrl + FTo insert footnote
35F7To check spelling and grammar
36F12To Save As (Save An Saved File As Another Name)
37Ctrl + 2To gaping between line
38Ctrl + 0To take a line’s sentence to next line
39Alt + F5To minimize MS-Word
40Alt + F8To open macros window
41Alt + 10 To open selection and visibility window
42End key To take the cursor at the end of line
43Page up keyTo take the cursor to the top of page
44Page downTo take the cursor to the bottom of page
45Del To remove a word right to cursor
46Backspace To remove a word left to cursor
47Caps lockTo write capital letter
48Enter To go to next line
49Alt + arrow downTo jump next box in table
50Alt + arrow upTo go back in previous box in table 

INTERNET SHORTCUTS
GOOGLE CHROME SHORTCUTS
C# PROGRAMMING SHORTCUTS KEYS
VISUAL STUDIO SHORTCUTS

Nov 3, 2019

Computer Shortcut Keys

computer shortcut key,window keyboard shortcut, windows screenshot shortcuts
keyboard shortcuts
ms office shortcut keys,excel shortcuts,ms office shortcut keys pdf
ms word shortcut keys

IMPORTANT COMPUTER SHORTCUT KEYS: 

Shortcut key
Work/function
Capable Application/devices
Alt + f4
To close window and computer system
All application and PCs
Ctrl + A
To select all files and folders
All application and PCs
Ctrl + C
To copy any file or folder
All application and PCs
Ctrl + X
To move any file or folder
All application and PCs
Ctrl + V
To paste the copied or moved file and folder
All application and PCs
Ctrl + P
To print any document/data
All Application
F5
To refresh screen
All application and PCs
Fn + insert/prt sc
To screenshot of computer and laptop screen
All application and PCs
Ctrl + insert/prt sc
To screenshot of computer and laptop screen
All application and PCs

Shift + key
To write a capital letter
All application and PCs
Ctrl + O
To open file and folder
All application and PCs
Ctrl + F
To open search bar
All application and PCs
Ctrl + N
To open new document /window
All application
Ctrl + D
To delete a file
All application and PCs
Ctrl + del
To delete a file
All application and PCs
Ctrl + shift + del
To delete a file permanently
All application and PCs
Ctrl + Z
Undo
All application and PCs
Ctrl + Y
Redo
All application and PCs
F3 
To open search from desktop
All application and PCs
Alt + tab
To switch open windows
All application and PCs
Ctrl + S
To save a document
All application and PCs
Ctrl + shifts + S
To save an existing file/document  with another name
Some application and All PCs

Google Chrome shortcuts
c# programming shortcuts 

Nov 2, 2019

12 LAWS AND RULE OF BOOLEAN ALGEBRA

12 rules and laws boolean algera
basic rules of boolean algebra

BOOLEAN ALGEBRA'S RULES AND LAWS:

  A English mathematician, philosopher and logician George Boole 1854 given a mathematical theories and few logical algebra named as Boolean Algebra..which consist of 12 laws or rule which briefly described Boolean Algebra which are:
            
1.    A + 0 = A
2.    A + 1 = 1
3.    A . 0  = 0
4.    A . 1  = A
5.    A + A = A
6.    A + Ā = 1
7.    A . A = A
8.    A . Ā= 0
9.    (A) = A
10. A + A B = A
11. A + ĀB = A + B
12. (A + B)(A + C) = A + BC

Derivation of Laws Using Gates And Truth Table:


RULE # 1 (  A + 0 = A) 

boolean simplification rules
A + 0 = A

A
0
  A+0
0
0
0
1
0
1

RULE # 2 (A + 1 = 1)

basic rules of boolean algebra
A + 1 = 1







A
1
  A+1
0
1
1
1
1
1

RULE # 3 (  A . 0  = 0)

boolean algebra rules pdf
A .0 =0






A
0
  A . 0
0
0
0
1
0
0

RULE# 4 (A . 1  = A)

logic algebra rules
A. 1= A







A
1
  A . 0
0
1
A
1
1
A

RULE #5 ( A + A = A)

12 rules of boolean algebra
A + A = A.







A
A
  A +A
0
0
A
1
1
A


RULE # 6(A + Ā = 1)


logic gates simplification rules
A + Ā = 1








A

Ā

 A+ Ā=1
0
1
1
1
0
1

RULE # 7(A . A = A)

boolean algebra laws and rules pdf
A.A=A






A
A
  A .A
0
0
A
1
1
A

RULE # 8 (  A . Ā= 0)

logic gate simplification rules
A . Ā= 0






A

Ā

 A . Ā
0
1
0
1
0
0

RULE # 9 ((A) = A)

boolean expression simplification rules
A Double not = A







RULE #10 ( A + A B = A)

= A+ AB
= A (1 + B)
= A (1)             (from rule no 2 A + 1= 1, replace the variable A by B so  B+1 or 1+B=1)
= A
boolean algebra laws and rules
A + AB = A








RULE # 11( A + ĀB = A + B)

= A + ĀB
= A + AB + ĀB   (from rule no 10,A+AB=A)
= A + B(A +Ā )
= A + B(1)          (from rule no 6, A +Ā = 1)
= A + B              (which is equal to right hand side)

algebra laws and rules
 A + ĀB = A + B








RULE#12(. (A + B)(A + C) = A + BC)

= (A + B)(A + C)
= AA + AC + AB + BC
= A + AC + AB + BC        (from rule no 7 A.A = A)
= A(1 + C) + AB + BC
= A (1) + AB +BC             (from rule no 2, 1+C=1)
= A + AB + BC
= A + BC                           (from rule no 10 , A + AB = A) hence it is equal to right hand side
boolean equation rules
(A+B)(A+C)=A+AB











                                           physics label