Pre-requisite / Skillset for C Programming Internship
1. Intern must know how to develop simple applications in C using basic constructs.
2. Capable of designing and implementing applications using arrays and strings.
3. Intern must be able to develop and implement applications in C using functions and pointers.
4. Must be capable of developing applications in C using structures.
5. Must be familiar with designing applications using sequential and random access file processing.
6. Should know how to do input/output and file handling in C.
7. Should be capable of developing C programs using arrays and strings.
8. Ability to develop applications in C using functions, pointers and structures is required.
9. Intern should have knowledge on how to develop C Programs using basic programming constructs.
C Programming Internship Test
Intern has to take C internship test in which they will be asked 50 multiple-choice questions. They have to score grade A or A* on this test to be eligible for the internship. Here’s a sample set of questions on the C Programming topic.
1. Which of the following is true for variable names in C?
(A) They can contain alphanumeric characters as well as special characters
(B) It is not an error to declare a variable to be one of the keywords(like goto, static)
(C) Variable names cannot start with a digit
(D) Variable can be of any length
Explanation: According to the syntax for C variable name, it cannot start with a digit.
2. Suppose we transfer a file written on a little endian machine to a big endian machine and there is no transformation from little endian to big endian, then what happens?
(A) The big endian machine throws an error when it receives the file
(B) The big endian machine reads the file in the reverse order
(C) The big endian machine does not read the file
(D) The big endian machine reads the file in the normal order
Explanation: If there is no transformation from little endian to big endian on transfer of a file from a little endian machine to a big endian machine, the big endian machine reads the file in reverse order.
3. What is the binary representation of the integer -14?
Explanation: The left most bit (most significant bit) is used to represent the sign of the number: 0 for positive and 1 for negative. For example, a value of positive 14 is written as 01110(in binary). But a value of negative 14 is written as: 11110.
4. Which of the following is not a preprocessor directive?
Explanation: #ifelse is not a preprocessor directive. #error, #pragma, #if are preprocessor directives. There is a preprocessor directive, #elif, which performs the function of else-if.
5. Local variables are stored in an area called ___________
(B) Permanent storage area
(C) Free memory
Explanation: Local variables are stored in an area called stack. Global variables, static variables and program instructions are stored in the permanent storage area. The memory space between these two regions is known a heap.
Practice the full set of C Programming Multiple Choice Questions before applying for the internship.
How to apply for the C Internship
1. Read the Sanfoundry Internship FAQs
2. Take the C Internship Test
3. Submit the Internship Application Form
Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!