GE 6151 COMPUTER PROGRAMMING GE 6151 COMPUTER PROGRAMMING IMPORTANT QUESTIONS UNIT-1 PART-A 1. Convert the binary number 110100111101 to octal. 2. Draw a flowchart to find the biggest of two numbers. 3. List different data types available in C. 4. Convert the hexadecimal A53 into its equivalent decimal system.

5. Convert 0.4375 decimal to binary system. 6. State the characteristics of computers. 7. How will you classify computer systems? 8. Why computer is known as data processor? 9. What is cache memory? How is it different from primary memory? 10. What are the rules for pseudocode? 11. Write algorithm to print biggest of three numbers 12. What are the factors needed to classify computers? 13. Write the binary and octal equivalent of hexadecimal number 7BD. 14. What is pseudo code? 15. Give any two tasks which humans perform better than computers. 16. What is the use of computers in medicine and healthcare? 17. Convert the binary number 100110 in to its octal equivalent. 18. What are registers? 19. What is a ternary operator? Give an example. 20. What is use of “break” statement in C. 21. List the rules for defining variable in c. 22. What is an identifier? Give any two example for an identifier. 23. Differentiate between analog and digital computers. 24. Give the full form of ENIAC and EDVAC. 25. Find the decimal equivalent of the hexadecimal number 4D.C8. 26. Convert hexadecimal number into binary equivalent of EBC. 27. Define an algorithm. 28. What are the various basic symbols used in flowcharting? Give their practical representation.

28. What is an algorithm? 29. Mention the important software and hardware technologies used in fifth generation. PART-B 1 .Explain in detail about the different generations of computers 2. Explain the evolution of computers. 3. With suitable diagram explain about computer organization. 4. With suitable example, explain about Number Systems. 5. Explain in detail the characteristics of Computers. 6. Discuss in detail the classification of computers.

7. Convert the decimal number 59.8125 into binary and octal. 8. Explain the different components of a computer system with block diagram. 9. What are the various guidelines to be followed while drawing a flowchart? 10. Discuss the advantages and limitations of flowcharting. 11. What is an algorithm? Write an algorithm to print even numbers from 2 to 100 12. Draw a flowchart to find the sum of 100 natural numbers. 13. Draw a flowchart to multiply two matrices. 14. Write the pseudo code to multiply two matrices.

SARAVANA KUMAR TM/ASSISTANT PROFESSOR/CSE

GE 6151 COMPUTER PROGRAMMING 15. What is the difference between an algorithm and pseudocode? Also write an Algorithm and pseudocode for solving a quadratic equation. 16. Write algorithm to print the Fibonacci series: (0,1,1,2,3,5,8,13,…) 17. Write a pseudo code for calculating compound interest. 18. Write the uses of flowchart and algorithm with suitable examples. UNIT-2 PART-A 1. Write a C program to find the factorial of a given number using iteration. 2. Write the limitations of using getchar() and scanf() functions for reading strings. 3. Write the following conditions using “?” operator. 4x+100 for x<40 Salary = {300 for x=40 4.5x+150 for x>40 4. What is the purpose of main()? 5. Distinguish between While..Do and Do…While statement in C. 6. Write a C program to print the number 10 ten times, the number 9 nine times and so on. 7. Write a C function to check whether the given year is leap or not. 8. Give the output of the following code: float c=34.78650; printf (“%6.2f”,c); 9. What are the different between constant and variable? 10. Differentiate between local and global variables. 11. What are the various types of operators supported by C?

12. Write a code segment using while statement to print numbers from 10 down to 1. 13. Write a c program for the following expressions. (a)a=5 <= 8 && 6!=5 (b)a = b++ + ++b where b = 50 14. Differentiate entry and exit checked conditional checked conditional constructs with an example. 15. What are escape sequences with examples. 16. Mention any two unconditional control structures with syntax. PART-B 1. Explain the various looping constructs. Give an example for each and explain the Working of the construct. 2. Write a C program to find the sum of the series: S = 1+x+x2+x3+…+xn 3. Write a C program to print the given numbers in reverse order. 4. Explain constructs used for decision making and branching. Given an example for each and Explain the working of the construct. 5. Describe various data types in C. 6. Describe any four I/O statement of ‘C’. 7. Write a C program to find the sum of digits in a number. 8. Write a C program to find the roots of quadratic equation. 9. Write a C program to count the letters in a sequence of characters. 10. Write the use of switch… case construct with its syntax and an example. 11. Write a C program to check if a given number is a prime number. 12. Write a C program to find the factorial of a given number using iteration.

SARAVANA KUMAR TM/ASSISTANT PROFESSOR/CSE

GE 6151 COMPUTER PROGRAMMING 13. Write a C program to convert the number of years represented by an integer into the following units of time: i) Minutes ii) Hours iii) Days iv) Months v) Seconds Use switch() statement. State the assumption in your program. 14. Write a C program to calculate the factorial of the given number.

15. What are the different operators available in C? Explain with examples. 16. Differentiate between signed and unsigned integer. 17. Write a C program to check if a given number is a armstrong number or not. 18. Write a C program to print the Fibonacci series: (0,1,1,2,3,5,8,13,…) upto n series. 19. Write a C program to find the greatest among three numbers. UNIT-3 PART-A 1. Write an example code to declare two dimensional arrays. 2. List any four string handling functions. 3. Why use arrays?

4. How strings are represented in C language?

5. What will the output of the following program be? #include main() { charname[15]=”mountain”; printf(“%s/n “,name); printf(“%55\n”,name); printfi’ ‘%8s\n”,name); printf(“%-10.4s”,name); } 6. What is an array? What are the classifications of arrays? 7. What are the limitations of arrays. PART-B 1. Describe how to declare two dimensional array using pointers. And write a for loop to store information and later modification to the declared pointer. 2. Write a C program to concatenate two strings

3. Write a C program to reverse a given string. 4. Write a C program to arrange the numbers in ascending order. 5. Write a C program to subtract two matrices and display the resultant matrices. 6. Write a C program to multiply two matrices. 7. Write a C program to search an element using binary search. 8. Write a C program to sort the given names [bubble sort]. 9. Explain in detail about various string operations with examples. 10. What is a two dimensional array. Explain its declaration, assignment and various initialization methods with examples.

SARAVANA KUMAR TM/ASSISTANT PROFESSOR/CSE

GE 6151 COMPUTER PROGRAMMING UNIT-4 PART-A 1. Define a C function to exchange the content of two variables. 2. What is an argument? Differentiate between formal arguments and actual arguments. 3. How a variable is declared to be a pointer? 4. Is it possible to refer to the elements of an array by using pointer notation? If so, give an example. 5. What is recursion? Give its applications. 6. List out the differences between call by value and call by reference? 7. What are the advantages of pointers. 8. What is the need of functions? 10. What is a pointer? How to declare a pointer variable. 11. Mention the operators used in pointer. 12. What is pointer-to-pointer? PART-B 1. Explain about the different parameter passing methods with examples. 2. Differentiate pass by value and pass by address in c.

3. Write a C program to exchange the contents of two variables using pointers.

4. Write notes on Pointers. 5. Explain in detail how an array can be passed as a parameter in a user-defined function. Illustrate your answer with an example program. 6. Explain the use of pointers in arrays with an example. 7. What are recursive functions? Explain it with an example. 8. Explain in detail about function prototypes with examples. UNIT-5 PART-A 1. Write any two different between structures and union. 2. List the common preprocessor directives. 3. What is the purpose of unions in C? 4. What is self-referential structure? Give an example. 5. Differentiate arrays from structures. 6. What are nested structures? Give an example. PART-B 1. Explain about structures and unions suitable examples. 2. Draw a flowchart and write a C program to print student grade using structure 3. Write C program to read and write employee and their data of joining using Nested structure. 4. Explain about structure declaration in C with suitable example. 5. Discuss about preprocessor facility in ‘C’.

6. Write a C program that gets and display the report of n students with their personal and academic details using structures.

7. Write a C program to store the employee information details using structures and search the particular employee information in employee information. 8. Explain the concept of storage classes with an example. 9. Write a C program to print the mark sheet for 10 students using structures. 10. Write the difference between structure and union. ===============ALL THE BEST====================

SARAVANA KUMAR TM/ASSISTANT PROFESSOR/CSE

GE 6151 COMPUTER PROGRMMING IMPORTANT QUESTIONS.pdf ...

Sign in. Loading… Page 1. Whoops! There was a problem loading more pages. GE 6151 COMPUTER PROGRMMING IMPORTANT QUESTIONS.pdf. GE 6151 ...

544KB Sizes 2 Downloads 203 Views

Recommend Documents

GE 6151 COMPUTER PROGRMMING IMPORTANT QUESTIONS.pdf
Page 1 of 4. GE 6151 COMPUTER PROGRAMMING. SARAVANA KUMAR TM/ASSISTANT PROFESSOR/CSE. GE 6151 COMPUTER PROGRAMMING ...

man-125\ge-computer-keyboard-user-manual.pdf
man-125\ge-computer-keyboard-user-manual.pdf. man-125\ge-computer-keyboard-user-manual.pdf. Open. Extract. Open with. Sign In. Main menu.

IBPSGuide - List of 100 Important Computer Questions for IBPS ...
Page 1 of 8. BASE INSTITUTE-Namakkal | www.ibpsguide.com. www.ibpsguide.in | www.sscexamguide.com | mock.ibpsguide.in. List of 100 Important Computer Questions for IBPS Clerk Mains 2016/17. 1). IP address consists of how many bits? a) 16 bits. b) 8 b

GE xgs868i.pdf
Non-obstructive fl ow measurement. • Tolerance to dirty streams. • Low maintenance. • Suitable for high temperatures. • Two-path measurement available for maximum. accuracy. GE. Measurement & Control. DigitalFlowTM. XGS868i. Panametrics Steam

important things to remember important things to ...
State. Phone. Witness. Name. Address. City. State. Phone. Police Information. Officer. Badge #. Police Station. Police Information. Officer. Badge #. Police Station. Vehicle #1 - Your Vehicle. Date. Time. AM / PM. Location. City. State. Approximate s

important notice
(f) describe and explain the transmission of pressure in hydraulic systems with particular ... (g) do calculations using the mass-energy equation E = mc. 2.

important notes -
The Company should have total cash funds plus credit lines (whether own ... one of the Top 25 Western European Banks &/or Top 4 USA Banks and should be ...

GE gs868.pdf
Compact ultrasonic transducers are installed in the pipe. or duct, one upstream of the other. The transducers send. and receive ultrasonic pulses through the steam. The. meter measures the difference between the upstream. and downstream transit times

man-161\ge-skype-phone.pdf
Download. Connect more apps... Try one of the apps below to open or edit this item. man-161\ge-skype-phone.pdf. man-161\ge-skype-phone.pdf. Open. Extract.

GE 2022 TOTAL QUALITY MANAGEMENT
4. 360o performance appraisals feedback from co-workers, subordinates or customers is incorporated into performance appraisal. 5. Formal suggestion system available for individuals to make quality improvement suggestion. 6. Developmental based perfor

GE and Google Services
GE and Google are joining forces to help develop tomorrow's power generation, transmission and distribution — known as the “smart grid” — and its interface with next generation electric transportation. Our goal is to provide consumers with im

Important Dates.pdf
Whoops! There was a problem loading this page. Retrying... Page 3 of 3. Chapitre 1 – La distribution : origines, fonctions, dynamique 11. points de vente.

important
Sep 27, 2017 - Candidates are required to apply Online only by using the website ... candidates belonging to Scheduled Castes, Scheduled Tribes, Other Backward Classes ..... from such foreign University/College/Institution and under such.

Important Reagents.pdf
-CHO -COOH. Aldehyde Acid. Only aliphatic aldehydes. 4. LiAlH4. Strong Reduction. - COOH - CH2OH. Acid 1° alcohol. Ketone 2. o. alcohol. - CHO - CH2OH Aldehyde 1° alcohol. -COCl -CH2OH Alkyl halide 1° alcohol. -CONH2 -CH2NH2 Amide 1° alcohol. -

Important Dates.pdf
IMPORTANT DATES AND DEADLINES. January 16, 2017. • State Conference Registration OPENS. January 16, 2017. • Design Problems for the following events posted on the NJ TSA website: Computer-Aided Design (CAD), Architecture. Computer-Aided Design (C

Important Terms.pdf
An Internet service provider (ISP, also called Internet access provider, or IAP) is a. company that offers its customers access to the Internet. The ISP connects to ...

Important Information
phone numbers, stock quotes, dictionary definitions, and ... phone number, including area code. • last name, city, state ... stocks: msft stocks: aapl intc msft macr ...

important dates
ALWAYS sell with another scout or with an adult. IMPORTANT DATES. Sale Start Date:September 12th. Sale End Date: October 13th. If you have collected all of ...

Important Announcement.pdf
Page 3 of 4. Important Announcement.pdf. Important Announcement.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Important Announcement.pdf.

important notice
cites to include the Central Business District (CBD), residential areas, industrial areas, the .... instruments at a weather station: rain-gauge, maximum-minimum.

PrimeView 5.0 - GE Healthcare Life Sciences
Oct 14, 2016 - An online help utility is included in the PrimeView software. The table ...... Select an Adobe Acrobat printer as default Windows printer and.

ge 2022 total quality management
Good pay factor is normally in the middle of ranking. 2. Normal Wants are interesting work, appreciation, involvement job security, Good pay, Promotion/growth ...

Sorts Collège Gris.pdf
rafales, circonstances pendant lesquelles la Magie grise est la plus vigoureuse, mais il reste cependant très fort. dans les brumes stagnantes humides qui font frissonner l'air et baignent tout de leurs ombres grises. Les Sorciers de l'Ordre gris on