Quiz On Basic Fundas C Programming Basic 1

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Dtejas
D
Dtejas
Community Contributor
Quizzes Created: 1 | Total Attempts: 283
Questions: 5 | Attempts: 283

SettingsSettingsSettings
C Programming Quizzes & Trivia

You have probably heard that every journey starts with one footstep and if you are on the journey to become a programmer you need to ensure that your game is on point. Take up the quiz on basic fundamentals of C programming basis one and refresh your memory of what you have learnt so far.


Questions and Answers
  • 1. 

    Which type of language is C?

    • A.

      Object Oriented Language

    • B.

      Procedure Oriented Language

    • C.

      Scripting Language

    Correct Answer
    B. Procedure Oriented Language
    Explanation
    C is considered a procedure-oriented language because it focuses on procedures or functions rather than objects. In procedure-oriented programming, the program is divided into smaller procedures or functions that perform specific tasks. These procedures can be called and reused throughout the program. C does not have built-in support for object-oriented programming concepts like classes and objects, making it more suitable for procedural programming.

    Rate this question:

  • 2. 

    C is platform dependent language.

    • A.

      True

    • B.

      False

    • C.

      Both

    Correct Answer
    B. False
    Explanation
    The given statement is "C is platform dependent language" and the correct answer is "False." This means that the statement is not true. C is actually a platform-independent language, meaning that it can be compiled and run on different platforms such as Windows, Linux, and macOS without any major modifications. Therefore, the correct answer is False because C is not platform dependent.

    Rate this question:

  • 3. 

    C can run on which of the following environments?

    • A.

      DOS

    • B.

      Windows

    • C.

      Linux

    Correct Answer(s)
    A. DOS
    B. Windows
    C. Linux
    Explanation
    C can run on multiple environments including DOS, Windows, and Linux. This is because C is a versatile programming language that can be compiled and executed on different operating systems. It provides a high level of portability, allowing developers to write code that can be run on various platforms without significant modifications. Therefore, C programs can be developed and executed on DOS, Windows, and Linux environments.

    Rate this question:

  • 4. 

    Linux was developed mainly using C language. 

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Linux was developed mainly using the C language because C is a high-level programming language that provides low-level access to memory and system resources, making it suitable for developing operating systems like Linux. Additionally, C is known for its efficiency, portability, and ability to interface with hardware, making it a popular choice for system-level programming. Therefore, it is true that Linux was developed mainly using the C language.

    Rate this question:

  • 5. 

    Which data type will you use to store numeric value which is always positive?

    • A.

      Unsigned int

    • B.

      Signed int

    Correct Answer
    A. Unsigned int
    Explanation
    The unsigned int data type should be used to store a numeric value that is always positive. Unlike the signed int data type, the unsigned int does not allocate a sign bit, allowing it to represent only non-negative values. This means that the range of values that can be stored in an unsigned int is greater than that of a signed int, as the sign bit is not needed. Therefore, using an unsigned int ensures that the stored value will always be positive.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 17, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • May 16, 2011
    Quiz Created by
    Dtejas
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.