ESA Part 2

ESA Part 2

University

10 Qs

quiz-placeholder

Similar activities

Number Systems and Boolean Algebra

Number Systems and Boolean Algebra

University

15 Qs

Unit 2: Microcontrollers

Unit 2: Microcontrollers

University

10 Qs

RoboRover

RoboRover

University

15 Qs

Intro to Coding

Intro to Coding

12th Grade - University

10 Qs

Revision

Revision

University

10 Qs

DLD Unit 1 _ 1

DLD Unit 1 _ 1

University

15 Qs

Chapter 1 Exploring Number Systems and Codes

Chapter 1 Exploring Number Systems and Codes

University

10 Qs

SEM-2(Python-Q1)

SEM-2(Python-Q1)

University

15 Qs

ESA Part 2

ESA Part 2

Assessment

Quiz

Engineering

University

Easy

Created by

NORSALINA BINTI HASSAN (PSP)

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?