Posts

C Programming Assignment Questions

Image
  Loop  Assignment Questions: 1. Print the numbers from 1 to 100 but skip the multiples of 5 Ex;- 1, 2, 3,4, 6, 7,8,9,11,12,13,14,16,… 99 2. Program to find the sum & avg of 10 positive integers 10, 110,45,87,9,450,23,92,134,678 = sum avg 3. Print the below pyramid 5 4 4 3 3 3 2 2 2 2 1 1 1 1 1 4. Write a program to print all prime numbers from 1 to 99 Output : 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97 5. Write a program to find whether the given number is palindrome or not ? Ex:- 4526254 Is a palindrome number 12334 is not a palindrome number 6. Input a number & a digit, and count the number of times the digit occurs in the number Ex:- input number is 12341321  and the digit is 1 & the output is 3 3 times 1 present in the given number 7. Print the square box using * Example:- given number is 4   **** *     * *     * *     * *     *  **** Function Assignment 1. Wap to implement simple calculator using fu

Project List

Image
  1. Alcohol Sensing Display With Alarm Project 2. Smart Room Temperature Controller Atmega. IOT PROJECTS 1. Industry parameters monitoring and controlling system based on embedded web server. 2. Smart and Tiny IOT based data acquisition system based on advanced Cortex M3 based controller 3. Street lights monitor (failure lights alert) and controller over internet  for smart cities 4. IOT based irrigation system with soil wet data threshold settings for different seasons 5. IOT Based Home Automation-Smart way to controlling your home from anywhere 6. Automatic energy meters monitoring in buildings and apartments using IOT 7. Implementation of Vehicle tracking and monitoring system using IOT 8. IOT based Green house monitoring and controlling system 9. Automatic and instantaneous power station power quality monitoring system using IOT 10. Temp

C Programming Language Tutorial

The C Language is developed by Dennis Ritchie for creating system applications that directly interact with the hardware devices such as drivers, kernels, etc. C programming is considered as the base for other programming languages, that is why it is known as mother language. It can be defined by the following ways: Mother language System programming language Procedure-oriented programming language Structured programming language Mid-level programming language 1)  C as a mother language C language is considered as the mother language of all the modern programming languages because  most of the compilers, JVMs, Kernels, etc. are written in C language , and most of the programming languages follow C syntax, for example, C++, Java, C#, etc. It provides the core concepts like the  array ,  strings ,  functions ,  file handling , etc. that are being used in many languages like  C++ ,  Java ,  C# , etc. 2) C as a system programming language A system programmi

Micro Controller Notes

Image
  DAY 1: LED (Light Emitting Diodes) Light Emitting Diodes  ( LED ) is the most commonly used components, usually for displaying pins digital states. Typical uses of  LEDs  include alarm devices, timers and confirmation of user input such as a mouse click or keystroke. Interfacing LED Fig. 1 shows how to interface the  LED to microcontroller . As you can see the Anode is connected through a resistor to GND . the Cathode is connected to the Microcontroller pin. So when the Port Pin is HIGH the  LED  is OFF. when the Port Pin is LOW the  LED  is turned ON. Interfacing LED with  PIC16F887 We now want to flash a  LED in  PIC16F/18F Evaluation board . It works by turning ON a  LED  & then turning it OFF & then looping back to START. However the operating speed of microcontroller is very high.so the flashing frequency will also be very fast to be detected by human eye. The  PIC16F/18F Evaluation board  has eight numbers of point  LEDs . That 8 pins connected with I/O