Search Header Logo

ESA Part 2

Authored by NORSALINA BINTI HASSAN (PSP)

Engineering

University

Used 1+ times

ESA Part 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary reason C is widely used for PIC microcontroller programming?

It is a low-level language

It is highly portable and can work across different CPUs

It does not require a compiler

It is only used for PC applications

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a compiler in C programming for PIC microcontrollers?

It executes the program directly

It converts the program into a hex file for loading into ROM

It increases the processing speed of the microcontroller

It modifies the hardware configuration of the PIC

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is TRUE about C programming?

It is easier and faster than assembly language

It is only used for desktop applications

It cannot be used for embedded systems

It requires manual memory management

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type would you use to store a non-negative integer in PIC programming?

signed char

unsigned char

float

double

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents a hexadecimal value in C?

0b11001100

0x3F

35.6

‘A’

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct binary format representation in C?

0b10101100

10101100b

B10101100

bin(10101100)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct hexadecimal representation of the binary value 10101010?

0xAA

0xAB

0xA5

0x55

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?