Operators and Expressions

Qus. 1 : <p>What will be the output of the following code?</p><pre><span style="font-size: 14px;">int main()<br></span><span style="font-size: 14px;">{<br></span><span style="font-size: 14px;">int i=25;<br></span><span style="font-size: 14px;">int k=i%4;<br></span><span style="font-size: 14px;">print("%d\n",k);<br></span><span style="font-size: 14px;">}</span></pre>

  1. 1
  2. 2
  3. 3
  4. 4
Qus. 2 : What is the bit size used in 8051 ?

  1. 4-bit
  2. 8-bit
  3. 16-bit
  4. 32-bit

Programs

Arduino Program to take input from serial and on the led based on input.

View Solution


Arduino program to fade the led bulb using for loop

View Solution


Arduino program to connect a led through push button

View Solution


Arduino program to change the blinking speed of led using the potentiometer

View Solution


Arduino program to print all integer number from 0 to 99 using for loop

View Solution


Arduino program to print odd numbers from 1 to 99

View Solution


Arduino program to print odd numbers from 99 to 1

View Solution


arduino program to interface buzzer with Arduino board to buzz on off with the delay of 1sec

View Solution


Arduino program to Blink a Light Emitting Diode LED

View Solution


Arduino program to print Hello word in LCD

View Solution


Arduino program to run a counter and display in LCD

View Solution


Arduino program to interface the sensor and led

View Solution


Arduino program to sound the buzzer on press on push button for 1 second

View Solution


Arduino program to interface buzzer with LDR and LED

View Solution


Arduino program to create automatic street light control by using LDR sensor

View Solution


Arduino program to read a integer number and print its table

View Solution


Arduino program to print the square root of a given number

View Solution


Design a night lamp using a LDR and a LED using Arduino Uno and find out the time delays associated in keeping ON the lamp

View Solution


Design a counter using an atmega microcontroller (like ATMEGA328P) using Arduino to display the number of entries per day in an office.

View Solution


Write a program to interface a temperature sensor (LM35) and water Nozzle with the Arduino.

View Solution


Arduino program to interface led buzzer with Arduino or raspberry pi and turn ON LED for 2 second after every 3 second

View Solution


Arduino program to connect RGB Led Bulb

View Solution


Arduino program to turns on LED when the button is pressed once and remains on until the button is pressed again to turn it off

View Solution


Arduino program to interface security password with Arduino board to show green light for correct password and red light for incorrect password.

View Solution


Arduino program to input any integer number and print its table

View Solution


Arduino program to connect with Servo Motor

View Solution


Arduino program to interface LCD with Arduino board and print some text

View Solution


Arduino application where pressing a button increases a counter value, which is then displayed on an LCD

View Solution


Arduino program to interface DHT 22 sensor and find the Humidity Temperature and Heat index

View Solution


Arduino program to interface soil moisture sensor

View Solution


Arduino program to interface a temperature monitoring system in a public environment which will display information

View Solution


Arduino program to interface a PIR (Passive Infrared) sensor

View Solution


Arduino program to interface gas sensor to detect the gas

View Solution


Arduino program to Design a night lamp using a photodiode and a LED and find out the time delay associated with turning the lamp on and off.

View Solution


Arduino program to implement Two way traffic signal system.

View Solution


Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad