0% found this document useful (0 votes)
34 views2 pages

Computer SQ (Ch. 1) Class 10

Uploaded by

Asma Saad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views2 pages

Computer SQ (Ch. 1) Class 10

Uploaded by

Asma Saad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

YOUSAF SCHOOL SYSTEM

SHORT QUESTIONS

Q.1. How did computer become an important part of today's daily lives?
Q.2. Define computer program and programmer.
Q.3. What is computer programming?
Q.4. What is programming language?
Q.5. Write five commonly used of programming languages.
Q.6. What do you know about C language?
Q.7. What is a programming environment?
Q.8. What is IDE?
Q.9. What are different tools provided by an IDE?
Q.10. Give four examples of IDEs for C programming?
Q.11. Which tool of IDE is used to write programs?
Q.12. How is a C program saved?
Q.13. What is compiling?
Q.14. What is compiler?
Q.15. What is syntax?
Q.16. Do all programming languages use the same syntax?
Q.17. What are syntax errors?
Q.18. Can a program with syntax error be compiled?
Q.19. What is reserved word?
Q.20. Give five examples reserved words.
Q.21. How can you differentiate keyword from identifier?
Q.22. What are header files?
Q.23. How is a header file included in a C program?
Q.24. What is the purpose of the statement #include <stdio.h> in C program?
Q.25. Write is the purpose of the statement #include <math.h> in C program.
Q.26. What will happen if stdio.h file is missing in a program?
Q.27. What is the basic structure of C program? Write the names of its different parts.
Q.28. What is the purpose of header section in C program?
Q.29. What is the main function used in C programs?
Q.30. What do you know about C statement?
Q.31. C is a case sensitive language. What does it mean?
Q.32. What are comments? Where can comments be added in the program?
Q.33. Write the syntax for writing comments.
Q.34. How are comments added on single line?
Q.35. How are comments added on multiple lines?
Q.36. What is a character set?
Q.37. Which characters are included in the character set of c language?

Yousaf School System 1


Q.38. What is a constant?
Q.39. List three types of constants in C language?
Q.40. What is integer constant? Give examples.
Q.41. What is real constant? Give examples.
Q.42. What is character constant? Give examples.
Q.43. How is the value 9 different from the value '9'?
Q.44. What is variable?
Q.45. Write any three rules for declaring variables in C.
Q.46. Give any five examples of valid variable names.
Q.47. Why is it important to assign a data type to a variable?
Q.48. List any three data types in C.
Q.49. How much memory does different data types require in C?
Q.50. Name and give the purpose of basic data type available in C.
Q.51. What is the difference between signed int and unsigned int?
Q.52. How are variables declared? Give two examples.
Q.53. Is it compulsory to declare all variables in C program?
Q.54. How can you declare multiple variables of same data type in single statement?
Q.55. What do you mean by variable initialization?
Q.56. Write a single C statement to initialize two integer variables start and end to 0.
Q.57. Write a statement to declare an integer variable i initialized to 10.
Q.58. Declare two integer variables nl and n2 in one declaration statement
Q.59. Initialize three integer variables Test1, Test2 and Test3 with the values of 76, 92

Yousaf School System 2

You might also like