C ++ Programming Tutorial By John Maina

Institution JKUAT
Course Information Technolo...
Year 1st Year
Semester Unknown
Posted By Jeff Odhiambo
File Type pdf
Pages 99 Pages
File Size 461.91 KB
Views 2558
Downloads 1
Price: Buy Now whatsapp Buy via whatsapp
  • whatsapp
  • facebook
  • twitter

Description

C Language Overview This chapter describes the basic details about C programming language, how it emerged, What are strengths of C and why we should use C. The C programming language is a general purpose, high level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP 11 computer in 1972. In 1978, Brian Kernighan and Dennis Ritchie produced the first publicly available description of C, now known as the K&R standard. The UNIX operating system, the C compiler, and essentially all UNIX applications programs have been written in C. The C has now become a widely used professional language for various reasons. Easy to learn Structured language It produces efficient programs. It can handle low level activities. It can be compiled on a variety of computer platforms. Facts about C C was invented to write an operating system called UNIX. C is a successor of B language, which was introduced around 1970. The language was formalized in 1988 by the American National Standard Institute.(ANSI). The UNIX OS was totally written in C by 1973
Below is the document preview.

No preview available
Reactions of Alkyl halides
In this type of reaction, a nucleophile reacts with haloalkane (the substrate) having a partial positive charge on the carbon atom bonded to halogen. A substitution reaction takes place and halogen atom, called leaving group departs as halide ion. Since the substitution reaction is initiated by a nucleophile, it is called nucleophilic substitution reaction
122 Pages 1379 Views 0 Downloads 3.2 MB
Substitution and Elimination Electron Flow Pathway
Path Limitations There are three requirements for the S N 2 reaction. In order to be pushed out, the leaving group must be at least fair, usually good. The nucleophile also must be reactive enough to push out the leaving group. Finally, the back side of the tetrahedral carbon attacked must be accessible to the nucleophile and not blocked by other groups.
5 Pages 1787 Views 0 Downloads 352.61 KB
The SN2 reaction
The hydroxide ion is a good nucleophile since the oxygen atom has a negative charge and a pair of unshared electrons. The carbon atom is electrophilic since it is bound to a (more electronegative) halogen, which pulls electron density away from the carbon, thus polarizing the bond with carbon bearing partial positive charge and the halogen bearing partial negative charge. The nucleophile is attracted to the electrophile by electrostatic charges. The nucleophile attacks the electrophilic carbon through donation of 2 electrons. Carbon can only have a maximum of 8 valence electrons, so as the carbon nucleophile bond is forming, then the carbon-leaving group bond must be breaking. Iodide is the leaving group since it leaves with the pair of electrons that once bound it to carbon.
13 Pages 1314 Views 0 Downloads 190.14 KB
AMAZING SCORE C.R.E PAPER 2 Trending!
Grab a copy of the AMAZING SCORE C.R.E PAPER 2 quick revision booklet that covers all the examinable areas in 313/2. Download your copy today!
193 Pages 3629 Views 3 Downloads 6.32 MB
KASSU JET JUL/AUG MOCK 2024; Geography PP1 & PP2 Q&A Trending!
Download a copy of the KASSU JET JUL/AUG MOCK 2024; Geography PP1 & PP2 Question Papers with well coordinated Marking Schemes attached. This is good revision material for your upcoming exams.
37 Pages 3107 Views 2 Downloads 1.31 MB
ATP 103: LEGAL WRITING AND DRAFTING Trending!
The purpose of the manual is to guide Counsel on general methods of legislative drafting. Further, it is intended to serve as a ready reference and guide to legislative drafting in addition to published works on the subject. The manual sets out uniform legislative drafting standards and principles to be applied by Counsel in the National Assembly.
96 Pages 2070 Views 4 Downloads 1.63 MB
MASENO SCHOOL JUL/AUG MOCK 2024; Business Studies PP1 & PP2 Q&A Trending!
Download a copy of the MASENO SCHOOL JUL/AUG MOCK 2024; Business Studies PP1 & PP2 Question Papers with well coordinated Marking Schemes attached. This is good revision material for your upcoming exams.
39 Pages 3911 Views 2 Downloads 3.5 MB
GRADE 6 AGRICULTURE NOTES Trending!
Download high quality comprehensively prepared GRADE 6 AGRICULTURE Rationalized Notes. The notes covers all grade 6 rationalized strands.
13 Pages 3916 Views 6 Downloads 1.59 MB
FOOD AND BEVERAGE PRODUCTION
This module unit is intended to impart in trainees cooking skills and attitudes required for professional cookery. It gives the trainees a broad knowledge of raw food materials and their application in food production.
76 Pages 263 Views 1 Downloads 1.03 MB
GRADE 7 AGRICULTURE & NUTRITION NOTES Trending!
Download a copy of GRADE 7 AGRICULTURE & NUTRITION NOTES. The notes are precise, complete and comprehensive. This will serve you well!
41 Pages 5710 Views 15 Downloads 2.28 MB