O Level Previous paper
Ir al canal en Telegram
https://youtube.com/@Satya806 सभी लोग इस Channel को Subscribe कर लो https://t.me/O_levelpaper Telegram group Quiz 👉https://t.me/o_levelsatya #M4-R5_Paper #M2R5 #O_Level #M3R5_Notes #M1R5Video #PaidClass_O_Level #O_Level_Notes #Satya_Sir
Mostrar más754
Suscriptores
-324 horas
+57 días
+2330 días
Archivo de publicaciones
Repost from O Level Previous paper
Very important.
M4-R5 Practical set-(2)
Q(1) Write a program to Run pattern (s) on LEDs connect at pins 3,4,5.
Pattern example
Case-1 On,on, on
Case-2 On,off,off
Case-3 Off,on,off
Case-4 Off,off,on
Case-5 Off,off,off
Answer=
//Program to Run pattern (s) on LEDs connected at pins 3,4,5
//defining LEDs
int red LED=3;
int green LED=4;
int blue LEd = 5;
int del = 1000; //Milliseconds of delay
Void Setup ()
{
// Making the LEDs outputs
PinMode (redLED, Output);
PinMode (greenLED, output);
PinMode (blueLED, Output);
}
Void loop ()
{
//Blink in pattern on,on,on
//Case-1
Serial.print("Blink in pattern");
digital Write(redLED, HIGH);
digital Write(greenLED, HIGH);
digital Write(blue LED, HIGH);
Delay (del);
// Blink in pattern on,off ,off
// Case-2
digitalWrite (redLED, HIGH);
digitalWrite (green LED, LOW);
digitalWrite (blue,LOW);
delay (del);
Note-👉(Off =LOW and On=HIGH)
// Blink in pattern off,on ,off
// Case-3
digitalWrite (redLED,LOW);
digitalWrite (green LED, HIGH);
digitalWrite (blue LED,LOW);
delay (del);
// Blink in pattern off,off,on
// Case-4
digitalWrite (redLED,LOW);
digitalWrite (greenLED, LOW);
digitalWrite (blue LED, HIGH);
delay (del);
Blink in pattern off,off,Off
// Case-5
digitalWrite (redLED,LOW);
digitalWrite (greenLED, LOW);
digitalWrite (blue LED, LOW);
delay (del);
}Repost from O Level Previous paper
Q(3) Write a javascript code that display "Text Growing' with increasing font size in interval of 100 ms in Red color, when font size reaches 50pt it display "Text shrinking; in Blue color. Then font size decrease to 5 pt.
Repost from O Level Previous paper
Q(2) Write html code to generate following output
1-Coffee
2-Tea-
. Black Tea
. Green Tea
3-Milk
Repost from O Level Previous paper
M2-R5 Practical👇👇👇 Marks-25
Q(1) using , HTML design a form in JavaScript to accept principal ,Rate and time in text boxes to display Compound interest in another text box on clicking calculate button.
Repost from O Level Previous paper
Q(3) Write a program which takes list of numbers as input in the list
A> The largest Number in the list
B>The smallest number in the list
C>Product of All the elements in the list
Repost from O Level Previous paper
Q.(2) write a program to print all Armstrong Number in a given range.Note an Armstrong number is a number whose sum of cubes of digits is equal to the number itself.
Ex- 153=1(1*1*1+125(5*5*5)+27(3*3*3)
Repost from O Level Previous paper
M4-R5 Practical 👇👇👇 Marks-30
Q(3) Write a program to interface LEDs on pin no 10,11,12,13 and Blink alternative at the delay of 1 sec
Ans - //Multiple LED blinking with delay of 1 sec .
int led 1= 13;
int led 2= 12;
int led3 = 11;
int led4= 10;
//The setup routine runs once when you press reset:
Void setup()
{
//initalize the digital pin as an output.
PinMode(led1, OUTPUT);
PinMode(led2, OUTPUT);
PinMode(led3, OUTPUT);
PinMode(led4, OUTPUT);
}
//The loop routine runs over again forever:
Void loop()
{
digital Writer (led, HIGH);. //turn the LED on(HIGH is the voltage level)
delay (1000);.// Wait for a second
digitalWrite(led1,Low);//turn the
LED off by making the voltage Low
delay(1000);
{
digital Writer(led2,HiGH);
delay (1000);
digital Writer(led2,LOW);
delay (1000);
}
{
digital Writer (led3, HIGH);
delay (1000);
digital Writer (led3, LOW);
delay (1000);
}
{
digital Writer (led4, HIGH);
delay (1000);
digital Writer (led3, LOW);
delay (1000);
}
//Wait for a second
}
Repost from O Level Previous paper
M4-R5 Practical 👇👇👇 Marks-25
Q(2) Write a program to interface Button and LED ,so that LED blinks/glow when button is pressed .
Repost from O Level Previous paper
M4-R5 Practical👇👇👇 Marks-25
Q.(1) Write a program to Blink default Light Emitting Diode (LED) on Arduino board with the delay of 2 sec 😊
