Online C Programming Quiz Test

Topics covered

Memory Management, Pointers, Function prototype, Decision making - branching & looping, Debugging C Programs, File handling, Advance C ( Used for System Programming such as OS, Compilers, Kernels etc)

  • MAQ (Multiple Answer Question)
  • MCQ (Multiple Choice Question)
  • Descriptive Question
  • White Board Simulator
  • Coding Simulator
  • Audio Question
  • Video Question
  • Case Study Question

C Programming Quiz helps Recruiters & Hiring Managers to validate the proficiency of candidates in C before an interview. C is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope, and recursion, while a static type system prevents many unintended operations. This C language quiz is designed to check the development and programming skills of C Programmer- As per Industry Standards.

The C language quiz test contains questions on following Topics:
 

  • Memory Management

  • Pointers

  • Function prototype

  • Decision making - branching & looping

  • Debugging C Programs

  • File handling

  • Advance C ( Used for System Programming such as OS, Compilers, Kernels etc) 


This C programming online quiz is designed & validated by our experienced subject matter experts (SME)s. Employers can ask the candidate to appear for this C quiz online. Using powerful reporting, you can have a detailed analysis of the test results to help you make a better hiring decision and predict the candidate’s performance.

The test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False.

This pre-employment test is useful for hiring:
  • C Programmers

  • Software Developer (0-2 yrs experience)
  • Senior Software Engineer

Test details:

This C language quiz test enables employers to identify & hire C programmers by evaluating working skills and job readiness. For this reason, the emphasis is on evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

Test Details: 20 minutes

20 Application Questions


The combination of Application questions helps to evaluate Technical as well as practical Skills of Candidates.

C Language Test

Question #1 of 3

Consider the following code snippet, first printf statement prints a value 3, what value will be printed by the second printf statement?
(Note: No other new file descriptors are opened while executing this program) 

int main()
{
     int df1= dup(STDOUT_FILENO);
     int df2= dup(STDOUT_FILENO);
     printf(""%d "", df1);
     printf(""%d "", df2);
     return 0;
 }

    • Any positive value

    • Error: Reduntant command

    • 1

    • 4

    • 0

Question #2 of 3

Given the code snippet:
int main() {
    int p1 = fork();
    int p2 = fork();
    if(p1 == 0 || p2 == 0) {
     printf(""Hello\n"");
    }
  return 0;
}

How many times will Hello be printed?

    • 1

    • 2

    • 3

    • 4

Question #3 of 3

Predict the output of the given program.

int main()
{
        int c = 0;
        c++;
        int p1 = fork();
        c++;
        int p2 = fork();
        c++;
        if(p2 == 0)
        {
                printf(""%d\n"", c);
        }
        return 0;
}

    • 1
      2
      3

    • 2
      3

    • 3
      3

    • 1
      1
      1

Candidate Name
Assessment Name
Invited by
Assessment Date
IP Address
Status








24.00 Out of 40.00
Pass
60%
03
23 Minutes

Java EE

9/10

Hibernate

3/10

Oracle PL/SQL

7/10

Analytical Thinking

5/10

Note:If score<= 30% then its a Weakness. If score >=70% then its a Strength.

Strengths

Java EE, Oracle PL/SQL, Analytical Thinking

Weaknesses

Hibernate

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.

SIGN UP FOR FREE

Schedule a Demo

How Interview Mocha works?

  • Add this test to your account

  • Invite candidates to take this test online

  • Candidates take the test

  • View and share actionable test reports

Trusted by leading brands worldwide

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • hexaware
Why hiring managers and recruiters across the globe love Interview Mocha
  • Largest number of ready pre-employment skill tests
  • Relevant test compositions and quality questions designed by Subject Matter Experts (IM SME)
  • Fastest custom test creation DNA
  • World’s most super easy skill assessment platform
  • High level of platform security implementation
  • Friendly and quick customer support
  • Ready to listen and implement your feedback, we are all ears
  • Affordable pricing

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.

SIGN UP FOR FREE

Schedule a Demo