Classical

C Programming MCQ - Mixed Bag

6:  

Let f : {a, b}* (a, b}* be given by f (n) = ax for
every value of n  ε {a, b} then f is

A.

One to one not onto

B.

One to one and onto

C.

Not one to one and not onto

D.

Not one-to one and onto

 
 

Option: A

Explanation :


7:   Which of the following types of programs would require the program data to be sorted in order for the programs to work correctly ?
A. Programs that display department names in alphabetical order
B. Programs that display sales amounts in numerical order
C. Programs that display subtotals in reports
D. All of these
 
 

Option: A

Explanation :


8:  

The number of binary relations on a set with n elements is

A.

n2

B.

2n

C.

2n^2

D.

None of these

 
 

Option: C

Explanation :


9:   A text is made up of the characters a, b, c, d, e each occurring with the probability 0.12, 0.4, 0.15,0.08 and .25 respectively. The optimal coding tech-nique will have the average length of
A. 2.15
B. 3.78
C. 2.78
D. 1.78
 
 

Option: A

Explanation :
Using Hofman's algorithm, code for a is 1111; b is 0; c is 110 ; d is 1110 Average code length =4 x .12 + 1 x .4 + 3 x .15 +4 x .08 + 2 x.25 =2.15


10:  

C was primarily developed as a

A.

systems programming language

B.

general purpose language

C.

data processing language

D.

none of above

 
 

Option: A

Explanation :




Suggest an improvement

 


Syllabus Covered in this section is

  • Elements of C-Tokens
  • Identifiers
  • data types in C
  • Control structures in, C
  •  Sequence, selection and iteration(s).
  • Structured data types in C
  • Arrays, Structures, union, String, and pointers
  • Functions, Recursion
  • Parameter passing, Scope
  •  Binding, Abstract data types

This Section covers Multiple Choice Questions Answers in C Programming . Here questions answers are given with explanation and references. These questions can be used for the preparation of various competitive and academic exams.

Who can benefit - 

  • Any undergraduate or postgraduate student who is seeking C Programming objective type questions answers can use this section.
  • C programming Multiple Choice questions Answers can help you in interview preparation.
  • C Programming Objective type Questions Answers are also used at SSC and HSc level for Exam preparation.
  • C Programming MCQ Questions Answers are also used by engineering students in the preparation of their Exams.
  • Any candidate who has to appear for DOEACC A, B or C level Exam can also learn C Programming Questions Answers.
  • All the teachers who are appearing for Kendriya Vidyalya Sangathan Entrance Exam can also use C Programming Multiple Choice Questions Answers.
  • C Programming MCQs can also be used by the students who are pursuing B.Sc or Msc Computer Science.
  • C Programming Questions Answers can also be used by BCA students for the preparation of their exams.
  • Any student who is pursuing B.Sc. in Information Technology can also use this C Programming mcq Questions Answers.
  •  MCA students can also prepare for their exams using  C Programming Objective Type Questions Answers.
  • You can get free access to C Programming mcq pdf.
  • You can also have online access to C Programming Questions Answers EBook.

Various Search Terms used for this section are

  • C Programming quiz questions with answers

  • C Programming exam questions answers

  • C Programming MCQ questions Answers

  • C Programming MCQ

  • C Programming Questions Answers