Search Header Logo

Daily Assessment Test - 1

Authored by C0641 RAM PRASATH S

Other

Professional Development

Daily Assessment Test - 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following programming language requires the knowledge of the hardware and the instruction set of a microcontroller?

Assembly Language Program
Embedded C program
Python programming
Java programming

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of the variable assigned as character data type?

8-bit
8-byte
16-bit
16-byte

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The line of embedded C program which must be used to import the library function is _______.

#include
#define
#import
#insert

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The line of embedded C program used to do iterative operation for "n" times which uses a character variable "i" is ____.

for(i=0;i<n;i++)

{

operation to be performed

}

for(n=0;n<i;n++)

{

operation to be performed

}

for(i=0;i<n;i--)

{

operation to be performed

}

for(n=0;n<i;n--)

{

operation to be performed

}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The line of embedded c program which must be used to assign a string variable "msg" as "Welcome" and to be stored in the code memory is ____.

__code const char msg[ ] ="Welcome";
__data const char msg[ ] = "Welcome";
char msg[ ] = "Welcome";
__code char msg ="Welcome";

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following line of embedded C program must be used assign the variable "status" as a bit variable data type?

__bit status;
char status;
int status;
char *status;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A single line of embedded C code which can be used to complement a bit variable led is _____.

led=!led;
led!=led;
led=~led;
~led=led;

Access all questions and much more by creating a free account

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

Already have an account?