[go: up one dir, main page]

0% found this document useful (0 votes)
36 views2 pages

Velalar College of Engineering and Technology: 18est24 & Software For Embedded Systems

The document is a test paper for a course on Software for Embedded Systems. It contains multiple choice questions, short answer questions, and long answer questions testing students' knowledge on topics relating to C programming and embedded systems. The test covers topics such as assembly language, language processors, pointers, arrays, control statements, and debugging techniques. It is divided into three parts - multiple choice, short answer, and long answer questions assessing different levels of knowledge.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views2 pages

Velalar College of Engineering and Technology: 18est24 & Software For Embedded Systems

The document is a test paper for a course on Software for Embedded Systems. It contains multiple choice questions, short answer questions, and long answer questions testing students' knowledge on topics relating to C programming and embedded systems. The test covers topics such as assembly language, language processors, pointers, arrays, control statements, and debugging techniques. It is divided into three parts - multiple choice, short answer, and long answer questions assessing different levels of knowledge.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Register Number

VELALAR COLLEGE OF ENGINEERING AND TECHNOLOGY


(An Autonomous Institution, Affiliated to Anna University, Chennai)
Continuous Assessment Test I QP Set I Regulations-2018
Programme: M.E Semester: 2 Max. Marks: 50 Duration 1.5 Hrs
Course Code & Title: 18EST24 & SOFTWARE FOR EMBEDDED SYSTEMS
Class: Embedded System Date:01.06.2021 - AN Time: 03.00 p.m. To 04.30 p.m.
Technologies
K1 - Remembering K3 - Applying K5 – Evaluating
Knowledge
Levels (KL) K2 - Understanding K4 – Analyzing K6 – Creating

Part A - MCQs - Choose the correct Answer 10 x 1 = 10 Marks

No Question CO KL
1.
The instructions like MOV or ADD are called as ______
C111.1 K2
A. OP-Code B. Operator C. Commands D. None of the mentioned
2. A two pass assembler, adding literals to literal table and address resolution of
local symbols are done using? C111.1 K2
A. First pass and second respectively B. Both second pass
C. Second pass and first respectively D. Both first pass
3. A machine language instruction format consists of
A. Operand field B. Operation code field C111.1 K2
C. Operation code field & operand field D. Assembly Code
4.
System programs such as compiler are designed as that they are C111.1 K2
A. Re-enterable B. Non-reusable C. Serially useable D. Recursion

5. A two-pass assembler, the task of the Pass II is to


A. Separate the symbol, mnemonic opcode and operand fields
B. Build the symbol table C111.1 K2
C. Construct intermediate code
D. Synthesize the target program
6. Which of the following are language processors
A. Assembler B. Compilers C111.1 K2
C. Interpreter D. Programmer
7. Which of the following might be used to convert high-level language
instructions into machine language? C111.1 K2
A. System software B. Applications software
C. An operating environment D. An interpreter
8. Programming language in which there is a very strong correspondence between C111.2 K2
the language and the architecture's machine code instructions is termed as
A. Machine language B. Assembly language
C. High level language D. Medium language
9. Assembly language programs are written using
A. Hex code B. Mnenonics C111.2 K2
C. ASCII code D. Operand
10. TII stands for
A. Table of incomplete instructions
B. Table of information instructions C111.2 K2
C. Translation of instructions information
D. Translation of information instruction
Part B - Answer ALL Questions. 5 x 2 = 10 Marks
11. What is an expression in C language? C111.1 K2
12. What are function prototypes? C111.1 K2
13. What will be output when you will execute following c code?
#include<stdio.h>
void main(){
int x=1;
if(x–) C111.1 K3
Printf(India”);
–x;
else
printf(“%d”,x);
}
14. Define pointer and write a declaration of pointer C111.2 K2
15. Define header file. C111.2 K2
Part C - Answer ALL Questions. 2 x 15= 30 Marks
No Marks CO KL
16. (a) (i) What is the difference between Call by Value and Call by
7 C111.1 K2
Reference?
(ii) What is the equivalent code of the following statement in
while loop format?
8 C111.1 K3
for (a=1; a<=100; a++)
printf ("%d\n", a * a);
OR
(b) How to debug C program using GDB with example. 15 C111.1 K2
17. (a) Define Array and how to create it? List out it advantages
15 C111.1 K2
and disadvantages.
OR
(b) Discuss briefly about control statement with examples.
15 C111.2 K2

*********

You might also like