Module 1_Introduction to C Programming

Module 1_Introduction to C Programming

University

10 Qs

quiz-placeholder

Similar activities

Sistemas de Fuerzas y Conversiones

Sistemas de Fuerzas y Conversiones

University

13 Qs

Índice de Qualidade da Água - IQA

Índice de Qualidade da Água - IQA

University

10 Qs

Strings in python

Strings in python

University

10 Qs

Measurement & Measuring Instruments Quiz

Measurement & Measuring Instruments Quiz

University

15 Qs

Alpro 2 Mg 1 - Understanding C++ Basics

Alpro 2 Mg 1 - Understanding C++ Basics

University

10 Qs

Lesson 3 Linear Motion

Lesson 3 Linear Motion

University

12 Qs

Kuis Pengolahan Limbah B3 2025

Kuis Pengolahan Limbah B3 2025

University

12 Qs

Introducción al Pseudocódigo

Introducción al Pseudocódigo

University

10 Qs

Module 1_Introduction to C Programming

Module 1_Introduction to C Programming

Assessment

Quiz

Engineering

University

Practice Problem

Medium

Created by

Shruthi S

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid C variable name?

int number

float rate

int variable_count

int $main

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is #include <stdio.h>?

Preprocessor directive

Inclusion directive

File inclusion directive

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the sizeof(char) in a 32-bit C compiler?

1 bit

2 bits

1 Byte

2 Bytes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

scanf() is a predefined function in______header file.

stdlib. h

ctype. h

stdio. h

stdarg. h

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. #include <stdio.h>

  2. int main()

  3. {

  4. int y = 10000;

  5. int y = 34;

  6. printf("Hello World! %d\n", y);

  7. return 0;

  8. }

Compile time error

Hello World! 34

Hello World! 1000

Hello World! followed by a junk value

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. #include <stdio.h>

  2. void main()

  3. {

  4. int x = 5 * 9 / 3 + 9;

  5. }

3.75

Depends on compiler

24

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many keywords are there in C Language ?

30

22

32

36

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?