Examination Hall,
A-B-C Road,
Karachi.
4th September, 1998

Dear Friend,

Assalam-o-Alaikum,

Hope you are enjoying the best of health. I am also enjoining the life by the grace of Almighty Allah.

Last week you dropped me a letter in which you've invited me to join you on a picnic point. Truly I am very much in the favour of this invitation but due to an appointment with my family physician I cannot give my time to you. I do believe that we will have a joyous time but as my health is not so progressive that's why I am not in a state to join you on the picnic. Sorry for refusing and hurting your feelings.

I do hope that you will forgive me. Give my regards to your parents.

Your Loving Friend,
X-Y-Z
To Your Friend Telling Him Your Inability to Join Him On A Picnic


Examination Hall,
Karachi.
4th September, 1998

My Dear Friend,

I heard that you have returned from States recently. How was your stay there. Your sister wrote to me several letters and I promptly replied to her.

Any how let me come to the point of my letter. I am celebrating my fourteenth birthday on 28th of December. I have invited almost all friend whom you know very well. The venue of the party is my residence and time is 5 pm.

May I take this opportunity to informally invite you to attend my birthday party on date and time mentioned as above.

We shall have a topping time and it will be a great pleasure for me to feel your presence at the party.

I shall eagerly be looking forward to your attending my birthday party.

With good wishes and good luck to you.

Your's affectionately
X-Y-Z

To Your Friend Inviting Her/Him On Your Birthday Party


Examination Hall,
Karachi.
4th September, 1998

My Dear Friend,

For a long time we did not correspond with each other. I hope you are in good health and by the grace of Almighty God I am also hale and hearty here.

I am especially writing this letter to you for a particular purpose. My parents have planned to visit some historical places in Sindh. In middle of this month. I am ware of the fact that your school has closed down for summer vacations so how about visiting us in Karachi and accompanying me with my parents on all excursion. We shall have a topping time visiting places in Sindh and going out for shooting birds.

I hope you will like my suggestion and let me know of your programme by return of mail.

Allow me to close my letter here with good wishes and good luck to you.

Your's affectionately
X-Y-Z
To Your Friend Requesting Her/Him To Spend Summer Vacations With You


Examination Hall,
Karachi.
4th September, 1998

My Dear friend,

I hope you will be fine and by the grace of Almighty God I am also in good health and spirit.

I am accompanying my parents to some sight seeing places in Thatta, Hyderabad and Khairpur. I need a good camera for taking photograph while on tour.

I know that you own a Maya Camera. So could you please lend me your camera for few days.

I will take at most care of it while it will be in my custody and shall return you to its original condition.

I hope you will not turn down my request when I will come in a day or two to collect it from you.

With regards an good wishes to you.

Your Sincere Friend,
X-Y-Z

Letter To Your Friend Requesting Him To Lend Camera To You


Examination Hall,
Karachi.
4th September, 1998

My Dear Uncle,

I received your telegram full of blessings and a parcel delivered to me by a postman containing a beautiful Omega watch.

Your present reminds me of your deep affection that you have in your heart for me. I liked the watch you has sent for me. I really needed a watch this time. How nice of you that you have fulfilled my need. I shall consider it a precious thing like a diamond. It will also make me punctual.

Uncle I missed you very much in the happy occasion of my birthday. I have taken many photographs and will send some of the prints to you.

My letter is getting long. Allow me to close my letter here.

With regards an good wishes to you.

Your's affectionately
X-Y-Z
Letter To Uncle Thanking Him for the Birthday Present


World Learning’s Exchange and Training Unit offers comprehensive international education, exchange, and training services to US and foreign clients.

World Learning’s purpose is to encourage understanding and cooperation between the people of the United States and peoples of other countries. We work toward the fulfillment of this purpose by providing professional programs and logistical support services to public and private organizations engaged in international cooperative and business-related exchange projects. World Learning designs, administers, and supports education and training programs for groups and individuals coming from other countries to the United States. It undertakes these activities under contract with government agencies and for private organizations.

World Learning International Visitor Leadership Program Internship
World Learning Summer Internship Program 2016

Interns are assigned on a rotational basis to programming teams to develop, implement, and monitor the International Visitor Leadership Program. The internship may include the following responsibilities:

Conduct research to support the preparation of programs;

Assist in developing program itineraries and arranging professional appointments for visitors;

Develop prospective program calendars and itineraries and arrange professional appointments;

Disseminate program information to professional contacts and sponsoring agency/client

Arrange program logistics (air and ground travel/hotels/meeting space);

Assist in conducting project briefings with visitors on program arrangements and provide guidance on understanding cultural differences and expectations to be encountered;

Accompany visitors, as required, to appointments;

Coordinate with local sponsors to formulate and implement programs outside of Washington, DC;

Assist in preparing briefing books and program materials for participants, along with entering and editing data for database;

Processing financial materials, including invoices and expense reports;

Handle other assigned tasks as needed and requested by intern coordinators.

Interns will also be responsible for managing long term projects throughout their internship experience and their input will influence the content of these projects. The internship program will include various professional development opportunities, including resume and interview workshops, shadowing sessions with internal and external entities, and brownbag lunches on various topics relevant to this line of work.

Ideal Candidates:

Individuals with a career interest in international affairs and exchanges are recruited seasonally for internship positions. Candidates may include undergraduates in their junior or senior year, current graduate students or recent graduates. Ideal candidates will have had international travel and/or work experience. Proficiency with Microsoft Outlook and Office is required. Foreign language skills are a plus, but not required. Prior administrative experience is preferred. More generally, an interest and comfort in working with people from other cultures and a positive, proactive attitude are essential. You must be eligible to work in the United States.



Summer Internship Opportunities

Start date: Wednesday, August 24, 2016

End date: Friday, December 16, 2016

Application deadline: Friday, July 22, 2016

Compensation: $11.50/hour

Hours: 32–40 hours per week

More Information: 202 464-6978 (Ms. Jackie Voluz) or 202 464-6748 (Mr. Saad Chaudhry)

If interested, please email resume and cover letter to intern@worldlearning.org.

Ms. Jackie Voluz and Mr. Saad Chaudhry

1015 Fifteenth Street, NW

Seventh Floor

Washington DC 20005

Email: intern@worldlearning.org

Examination Hall,

A.B.C

January 20, 2015

Dear Brother Usman,



I received your letter yesterday. I am glad to hear about your progress in studies. Your keen interest in your studies will pay you one day. You are dear to me and your success is my success. So I would like to give some pieces of advice to you relating to your studies.

Dear, hard work is a key of success. Along with hard work regularity and punctuality play a vital role for a successful life. If you do not attend your classes regularly, missed lessons will put an extra pressure on you and you will not be able to make up your deficiency in your studies. Set a time table and work accordingly. Do not put till tomorrow what you can do today. In this way you will be able to learn everything easily and properly.

Secondary attractions are the main obstacle in the way to success. They tend to captivate young men. Take part in extracurricular activities in a moderate way. Your major work in your studies,  Don’t neglect them and laways pay proper attention to them. Always try to make your concepts clear. Prepare your lessons again and again. As you know, practice makes a man perfect. In case of any short of difficulty never hesitate to consult your teacher. Do not be proud of your previous success and always carry on your efforts to improve yourself.



My prayers are always with you.

Your loving Brother

Ch Ashraf Nadeem
Letter to Brother Advising him to Take Interest in Studies


I hope this letter will find you hale and hearty. I am sorry I could not write you earlier. Actually, I was waiting for the result of my 1st term examination, so that I could inform you. I have got the result now. But, I am sorry I have failed badly in physics and chemistry. But Dad! Believe me; it is not due to my negligence or lack of interest in studies at all. My failure is due to the following reasons.

Firstly, our lecture on physics was transferred unexpectedly and the lecturer in his place joined very late. So, we could not learn lot of important lessons during this time. Secondly, this time district cricket tournament took place near the examination. As you know, I am the captain of the team, so I had to provide a lot of time there. I could not manage my time table properly and it affected my studies very much.

Out of frying pan into the fire, I fell ill a few days before my examination. It added to my difficulties. I could not find proper time for the preparation of physics and chemistry. My performance in other papers was also affected due to my illness. Now I have decided to make up my deficiency in these subjects. Insha-Allah I promise to show you good result in the Annual Examination.

Your Loving Son

Imran Khan

Write a letter to father Explaining the Cause of Failure


I am very glad to receive your kind letter. Thanks god almighty that everybody at home is hale and hearty. In your letter you have asked me about my progress in studies. Dad, you will be glad to know that I have secured good marks in the last college examination. I got reasonable marks in all subjects but in chemistry and mathematics I could not do well. It does not mean that these subjects are beyond my understanding and interest. Actually I could not provide sufficient time to revise these subjects.

My December test is at hand. Now days, I am working hard for it. I have decided to make deficiency in these subjects. I often take my teachers help in this regard. Besides, some special classes in these subjects are being arranged by our professors. I have decided to attend them.

Last time, I lost my first division in Urdu for two marks. Now, I will try my best to get it. English grammar is my weakness, so I am working very hard to grip it. I take extensive notes and revise them Insha-Allah, I hope to top the list in aggregate in the annual examination. I need your prayers and blessings of God almighty.



Pay my regards to mother and love to youngsters.

Your loving son

Nouman Ijaz
Write a letter to father informing him about Progress in Studies


Logic Gates

Introduction

Logic gates serve as the building blocks to digital logic circuits using combinational logic. We're going to consider the following gates: NOT gates (also called inverters), AND gates, OR gates, NAND gates, NOR gates, XOR gates, and XNOR gates.
We'll also discuss the concept of gate deltay.

NOT gates

NOT gates or inverters have a single bit input and a single bit of output.
This is a diagram of a NOT gate. It is a triangle with a circle on the right. The circle indicates "negation".

The truth table defines the behavior of this gate.

  x    z  
01
10
where x is the input and z is the output.

AND2 gates

AND2 gates have two bits of input and a single bit of output. The subscript, 2, indicates how many inputs this AND gate has. For example, AND3 gates have 3 inputs.
The output of AND2 gate is 1 only if both inputs are 1. Otherwise, the output is 0.

The truth table defines the behavior of this gate.

  x1    x0    z  
000
010
100
111
The function implmented by AND2 gates has interesting properties:

  • The function is symmetric. Thus, x * y == y * x. This can be verified by using truth tables. We use * to represent AND2.
  • The function is associative. Thus, (x * y) * z == x * (y * z). This can be verified by using truth tables.
Because of these properties, it's easy to define ANDn, which is an n-input AND gate.

ANDn(x1, x2,...,xn) = x1 * x2 * ... * xn
That is, an AND gate with n-inputs is the AND of all the bits. This is not ambiguous because the AND function is associative (all parenthesization of this expression are equivalent).

OR2 gates

OR2 gates have two bits of input and a single bit of output. The subscript, 2, indicates how many inputs this OR gate has. For example, OR3 gates have 3 inputs.
The output of OR2 gate is 0 only if both inputs are 0. Otherwise, the output is 1.

The truth table defines the behavior of this gate.

  x1    x0    z  
000
011
101
111
The function implemented by OR2 gates has interesting properties:

  • The function is symmetric. Thus, x + y == y + x. This can be verified by using truth tables. We use "+" to represent OR2
  • The function is associative. Thus, (x + y) + z == x + (y + z). This can be verified by using truth tables.
Because of these properties, it's easy to define ORn, which is an n-input OR gate.

ORn(x1, x2,...,xn) = x1 + x2 + ... + xn
That is, an AND gate with n-inputs is the AND of all the bits. This is not ambiguous because the AND function is associative (all parenthesization of this expression are equivalent).

NAND2 gates

NAND2 gates have two bits of input and a single bit of output. The subscript, 2, indicates how many inputs this NAND gate has. For example, NAND3 gates have 3 inputs.
NANDk gates is define unusually. Since NAND2 is not associative, the definition is based on AND2.
In particular

NANDk(x1, x2,...,xn) = NOT( ANDk(x1, x2,...,xn) )

Thus, NANDk is the negation of ANDk.
The truth table defines the behavior of this gate. It's the negation of AND2.

  x1    x0    z  
001
011
101
110
The function implemented by NAND2 gates has interesting properties:

  • The function is symmetric. Thus, x NAND y == y NAND x. This can be verified by using truth tables.
  • The function is not associative. This can be verified by using truth tables.
Because of these properties, NANDk is defined from ANDk, and not built from NAND2 gates.

NOR2 gates

OR2 gates have two bits of input and a single bit of output. The subscript, 2, indicates how many inputs this OR gate has. For example, NOR3 gates have 3 inputs.
The output of NOR2 gate is the negation of OR2.

The truth table defines the behavior of this gate.

  x1    x0    z  
001
010
100
110
The function implmented by NOR2 gates has interesting properties:

  • The function is symmetric. Thus, x NOR y == y NOR x. This can be verified by using truth tables.
  • The function is not associative. This can be verified by using truth tables.
Because of these properties, NORk is defined from ORk, and not built from NOR2 gates.

XOR2 gates

XOR2 gates have two bits of input and a single bit of output.
The output of XOR2 gate is 1 only if the inputs have opposite values. That is, when one input has value 0, and the other has value 1.. Otherwise, the output is 0.
This is called exclusive-or. The definition of OR2 is inclusive-or, where the output is 1 if either input is 1, or if both inputs are 1.
XOR2 can be defined using AND2, OR2, and NOT.
x XOR y == ( x AND (NOT y) ) OR ( (NOT x) AND y ) == x\y + y\x
Here's a diagram of the XOR2 gate.

If you look carefully at the drawing of the gate, there is a second arc behind the first one near the inputs. Since this second arc is hard to see, it's usually a good idea to write the word "XOR" inside the gate.
The truth table defines the behavior of this gate.

  x1    x0    z  
000
011
101
110
The function implmented by XOR2 gates has interesting properties:

  • The function is symmetric. Thus, x (+) y == y (+) x. This can be verified by using truth tables. (We use (+) to denote logical XOR--ideally, we'd draw it with a + sign inside a circle, but HTML doesn't seem to have a symbol for this).
  • The function is associative. Thus, [ x (+) y ] (+) z == x (+) [ y (+) z ]. This can be verified by using truth tables.
Because of these properties, it's easy to define XORn, which is an n-input XOR gate.

XORn(x1, x2,...,xn) = x1 (+) x2 (+) ... (+) xn
That is, an XOR gate with n-inputs is the XOR of all the bits. This is not ambiguous because the XOR function is associative (all parenthesization of this expression are equivalent).

XNOR2 gates

XNOR2 gates have two bits of input and a single bit of output.
The output of XNOR2 gate is the negation of XOR2 and has 1 when both inputs are the same.

If you look carefully at the drawing of the gate, there is a second arc behind the first one near the inputs. Since this second arc is hard to see, it's usually a good idea to write the word "XNOR" inside the gate.
The truth table defines the behavior of this gate.

  x1    x0    z  
000
011
101
110
The function implmented by XNOR2 gates has interesting properties:

  • The function is symmetric. Thus, x XNOR y == y XNOR x. This can be verified by using truth tables.
  • The function is associative. Thus, (x XNOR y) XNOR z == x XNOR (y XNOR z). This can be verified by using truth tables.
Because of these properties, it's easy to define XNORn, which is an n-input XNOR gate.

XNORn(x1, x2,...,xn) = x1 XNOR x2 XNOR ... XNOR xn
That is, an XNOR gate with n-inputs is the XNOR of all the bits. This is not ambiguous because the XNOR function is associative (all parenthesization of this expression are equivalent).
(Error-checkers! You may wish to verify this, and email me if this is incorrect!).

Building Blocks

We can use logic gates to build circuits. While we've described 6 gates, you can do with only three gates to build all possible circuits: AND2, OR2, and NOT. In fact, you don't even need all three gates. It can be done in two kinds of gates of less. We'll explain in a future section.
These circuits can implement any truth table.

Valid Combinational Circuits

The inverse is not true. Not every circuit that is built from gates corresponds to a truth table. In particular, you must observe the following rules if it's to correspond to a truth table.

  • The output of a gate may only be attached to the input of another gate. (Think of this as a directed edge from output to input).
  • There must be no cycles in the circuit. Treat the circuit like a directed graph with directed edges defined in the previous item.
  • Although the output of a gate may be attached to more than one input, an input may not have two different outputs attached to it (this would create conflicting input signals).
  • Each input of a gate must come from either the output of another gate or a source. A source is a source that generates either a 0 or 1.

Gate Delay

Real gates have delay. In other words, if you change the value of the inputs, say from 0 and 0 to 0 and 1, then the output takes some small amount of time before it changes. This delay is calledgate delay.
This delay is due to the fact that information can travel at most, the speed of light, and in reality, the time it takes to do the computation is not infinitely quick.
This delay limits how fast the inputs can change and yet the output have meaningful values. It also allows certain kinds of circuits to be created that don't follow the rules from the previous section. In particular, flip flops (to be discussed later) can be generated from gates that use cycles.

Why Subscripts?

Most books don't distinguish between an AND2 gate and a AND3 gate. They claim an AND gate is an AND gate, regardless of the number of inputs.
While this is true, I subscript it because an AND2 and an AND3 do not have the same truth table. In particular, an AND2 truth table has 4 rows while an AND3 has 8. While the two truth tables are related, they still define different functions.
Thus, I make the distinction by subscripting the number of inputs.

Summary

Logic gates are the building blocks of combinational logic circuits. You can buy logic gates from electronic hobby places. These gates are primarily for hobbyists. Each chip usually has about 4 logic gates.
Real computers don't use these kinds of gates, because they take far too much space. With VLSI technology, you can cram millions of gates onto a wafer no bigger that your thumbnail.
The behavior of logic gates can be described by truth tables. However, because these gates are "physical", they have some properties not expressed in truth tables. In particular, gate delay describes the amount of time it takes for the output to change when the input changes. This time is not zero, thus, one must wait a short amount of time for the output to take effect.
We'll discuss how to build circuits from these gates in a later set of notes.

Like Us On Facebook

Popular Posts