
RTES

Quiz
•
Engineering
•
Professional Development
•
Hard
malay ghata
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the process of compilation and linking in C.
Compilation in C only includes converting source code to machine code without any linking process.
The process of compilation and linking in C includes preprocessing, compiling to assembly, assembling to object code, and linking to create an executable.
The process of compilation in C involves only writing code without any further steps.
Linking in C is the same as executing the program directly without compilation.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are preprocessor directives in C? Provide examples.
#include
#define E 2.71
#if RELEASE
Examples of preprocessor directives include: 1. #include
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Differentiate between static and dynamic memory allocation in C.
Static memory allocation is fixed at compile time, while dynamic memory allocation is flexible and occurs at runtime.
Static memory allocation can be resized during program execution, while dynamic memory allocation cannot.
Static memory allocation occurs at runtime, while dynamic memory allocation is fixed at compile time.
Dynamic memory allocation is done at compile time, while static memory allocation is flexible and occurs at runtime.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between break and continue in C? Provide examples.
'break' is used for function calls; 'continue' is for loops only.
'break' and 'continue' have the same effect in loops.
'break' skips to the next iteration; 'continue' exits the loop.
'break' exits the loop; 'continue' skips to the next iteration. Example: for (int i = 0; i < 5; i++) { if (i == 2) break; // exits loop when i is 2 printf("%d ", i); } for (int i = 0; i < 5; i++) { if (i == 2) continue; // skips the rest of the loop when i is 2 printf("%d ", i); }
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define a string in C and explain how it is declared. What is the last element in a string?
The last element in a string is the first character.
The last element in a string is a space character.
The last element in a string is a comma.
The last element in a string is the null character '\0'.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a C program to check if a number is even or odd using the bitwise AND operator.
Use the expression 'if (number & 1) { printf("Odd\n"); } else { printf("Even\n"); }' in the C program.
Use 'if (number & 2) { printf("Even\n"); }' to check for even numbers.
Check if 'number / 2' is an integer to determine if it's even or odd.
Use 'if (number % 2 == 0) { printf("Even\n"); }' to check even numbers.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List the basic components required for designing a digital clock using Arduino and describe their roles.
Bluetooth Module
Speaker Module
Microcontroller Unit (MCU)
Arduino Board, Real-Time Clock (RTC) Module, Display (LCD or 7-segment), Power Supply, Connecting Wires
Create a free account and access millions of resources
Similar Resources on Wayground
5 questions
Technical Quiz

Quiz
•
Professional Development
12 questions
Mastering C Programming Concepts

Quiz
•
Professional Development
10 questions
Weintek | cMT-FHDX-820

Quiz
•
Professional Development
15 questions
MCQs on Creativity and Innovation2

Quiz
•
Professional Development
10 questions
IoT Quiz

Quiz
•
Professional Development
10 questions
Coimbatore master plan 2041

Quiz
•
Professional Development
15 questions
BIT_QUIZ_Hadoop

Quiz
•
Professional Development
8 questions
SVV Quality Knowledge Sharing

Quiz
•
Professional Development
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Engineering
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
11 questions
complex sentences

Quiz
•
Professional Development
8 questions
Ötzi the Iceman: A 5,000-Year-Old True Crime Murder Mystery | Full Documentary | NOVA | PBS

Interactive video
•
Professional Development
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
6 questions
Basics of Budgeting 7

Quiz
•
6th Grade - Professio...
20 questions
Movies

Quiz
•
Professional Development