
Software Programming : C Programming QUESTIONS AND ANSWERS :: part8 : 1 to 5
Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :
1.Read the following statements and choose the most appropriate one. I. An algorithm is an actual program that can be executed on a machine directly. II. An algorithm is a set of rules for carrying the calculations either by hand or on a machine. III. An algorithm can be a program dependent and machine dependent code to define a solution for a given problem. IV. An algorithm is an abstraction of a program to be executed on a machine. |
| Both (I) and (IV) above |
| Both (I) and (III) above |
| Both (II) and (IV) above |
| Both (I) and (II) above |
| (II), (III) and (IV) above. |
2.For the initial values as a=3, b=40, c=13, d=10, what is the final value of a, a = b^c|d&a; |
| Syntax error |
| 39 |
| 3 |
| 35 |
| 31. |
3.Pick the equivalent control structure for the following repetitive control structure For ( E1; E3; E2 ) { statements; } |
| while( E1) { E2; statements; E3; } |
| E1; while(E2) { statements; E3; } |
| while( E3) { E1; statements; E2; } |
| E1; while(E3) { statements; E2; } |
| E1; E3; while(E2) { statements; }. |
4.Which one of the following is valid for opening a read-only ASCII file? |
| fileOpen(filename, �r�); |
| fopen(filename, �ra�); |
| fileOpne(filename, read); |
| fopen(filename, �read�); |
| fopen(filename, �r�);. |
5.Let A, B are the integer variables, and P, Q are the integer pointers, then which of the following are valid in a C program? |
| P = P*A; |
| P = A/P; |
| P = P/Q; |
| P = P*Q; |
| P = P+A;. |
More C Programming QUESTIONS AND ANSWERS available in next pages
-
Health is the greatest gift, contentment is the greatest wealth -Buddha
- TNTET 2021 - Practice
- SSC CGL 2021 - Practice
- TNPSC Group 2A 2021 - Practice
- IIT JEE
- IIT JEE Q&A
- TNPSC Answer Keys
- TNPSC Group 2 Syllabus
-
TNPSC Q&A

- Online Tests - TNPSC
- Online Tests - GK
- IBPS 2020-2021
- Online Tests - Bank
- Online Tests - RRB NTPC
- Online Tests - UGC NET
- Online Tests - TANCET
- Online Aptitude Test
-
Engineering

-
Programming

-
Basic Science

-
Quiz

- Plus Two Question Papers
- SSLC Question Bank
-
Aptitude Tests

-
Logical Reasoning

-
General Knowledge-Hindi

-
Indian History MCQ

-
Indian Geography MCQ

-
Indian Civics MCQ

-
Indian Economics MCQ

-
CTET Biology MCQ

-
CTET Chemistry MCQ

-
CTET Physics Solved MCQ

-
Arithmetic Tests

- Press Release
- FAQ
- Coaching Centres
- TNPSC Group 1 Syllabus
-
TNPSC Group IV Syllabus

- TRB 2017 in English PDF

- TRB 2017 in Tamil PDF

- TET
- TNTET
