# Algorithm and Programming Lab Manual 2014 15.doc

Description
COLLEGE OF COMPUTER SCIENCE AND INFORMATION SYSTEM DEPARTMENT OF COMPUTER SCIENCE JAZAN UNIVERSITY, JAZAN ALGORITHM AND PROGRAMMING LABORATORY (281 CSC-3) LAB M AN U AL (REVISED) ACADEMIC YEAR (2014 – 2015) PREPARED BY Abu Salim For College Of Science, Department of Mathematics Lecturer DEPARTMENT OF COMPUTER SCIENCE COLLEGE OF COMPUTER SCIENCE AND INFORMATION SYSTEM 1 JAZAN UNIVERSITY, KSA Lab Programs List 1. Write a program in C to Print hello . 2. Write a Program in C that take first i
Categories
Published

View again

All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
COLLEGE OF COMPUTER SCIENCE AND INFORMATION SYSTEMDEPARTMENT OF COMPUTER SCIENCEJAZAN UNIVERSITY, JAZANALGORITHM AND PROGRAMMING LABORATORY (281 CSC-3) L A B M A N U A L (REVISED)ACADEMIC YEAR (21! 21#) PREPARED BYAbu Salim For  C\$%%&'& O S*&+&, D&./0&+/ \$ M/&0/* Lecturer  DEPARTMENT OF COMPUTER SCIENCECOLLEGE OF COMPUTER SCIENCE AND INFORMATION SYSTEM 1  JAZAN UNIVERSITY, SAL4 P.\$'.0 L*/ 1. Write a program in  to Print ! ello!.#. Write a Program in  t at ta\$e %ir&t input an integer number an' t en print it. (nput i& 'one u&ing &can% %unction an' number i& printe' on &creen u&ing print%.). Write a Program in  to per%orm t e ba&ic arit metic operation o% a''ition on t*o number& an' t en print t e &um on t e &creen.For e+ample i% t e u&er entere' t*o number& a& ,-  t en 11 *ill be printe' on t e &creen./. Write a Program in  to %in' t e a0erage o% t*o number&.,. Write a Program in  to c ange a numeric gra'e to letter ra'e.. Write a program in c to c ec\$ * et er a number entere' b2 u&er i& e0en or o''.3. Write a program in  to implement &election &ort.4. Write a program in  to implement bubble &ort.5. Write a program in  to implement in&ertion &ort.16. Write a program in  to implement Linear Searc .11. Write a program in  to implement Binar2 &earc .1#. Write a program in  to calculate %actorial o% a gi0en number u&ing iteration. 2  1). Write a program in  to calculate %actorial o% a gi0en number u&ing recur&ion. ADDITIONAL PROGRAM5 1/7 Write a Program in  to c ec\$ alp abet i& a 0o*el or not.1,7 Write a Program in  c ec\$ leap 2ear. 17 Write a Program in  to re0er&e a number 137 Write a Program in  to print Prime number.147 Write a Program in  to print Fibonacci &erie&. 6/ * C7 3  8 e  programming language i& a popular an' *i'el2 u&e' programming language %or creating computer program&. Programmer& aroun' t e *orl' embrace  becau&e it gi0e& ma+imum control an' e%%icienc2 to t e Programmer. Follo*ing are  programming language %eature&7 ã Fi+e' number o% \$e2*or'&- inclu'ing a &et o% control primiti0e&- &uc a& i%- %or- * ile- &*itc an' 'o * ile. ã Multiple logical an' mat ematical operator&- inclu'ing bit manipulator&. ã Multiple a&&ignment& ma2 be applie' in a &ingle &tatement. ã Function return 0alue& are not al*a2& re9uire' an' ma2 be ignore' i% unnee'e'. ã 82ping i& &tatic. All 'ata a& t2pe but ma2 be implicitl2 con0erte'. ã Ba&ic %orm o% mo'ularit2- a& %ile& ma2 be &eparatel2 compile' an' lin\$e'. ã ontrol o% %unction an' ob:ect 0i&ibilit2 to ot er %ile& 0ia e+tern an' &tatic attribute&.  6.*/*+', C\$0*%/*\$+ + E9&:/*\$+ \$ C P.\$'.0  1. reating ; E'iting  Program #. Sa0ing  program ). ompiling  program /. Lin\$ing  program ,. Loa'ing  program . E+ecuting  program 4

Jul 23, 2017

#### pp

Jul 23, 2017
Search
Similar documents

View more...
Tags

Related Search