ALL THE BEST!!!!!
wireless slide unit 5 and unit 6
Assalamualaikum,
Please find the latest slide..
http://www.ziddu.com/download/20492660/Unit5.rar.html
http://www.ziddu.com/download/20492738/unit6_1.rar.html
Thanks
C PRO SLIDE UNIT 5 PART 2
Dears,
Here is another part of slide for unit 5.
http://www.ziddu.com/download/20344895/5.4.rar.html
happy programming..
alahai..
this week is the last week for syawal..
Different between char, float, int and double
You always write a programming using char
, int
, float
and double
), and optional specifiers (signed
, unsigned
, short
, long
).
What is the different between this four type??
THE MAIN DIFFERENT IS SIZE.
Type Explanation Type Explanation char smallest addressable unit of the machine that can contain basic character set. It is an integer type. Actual type can be either signed or unsigned depending on implementation signed char same as char
, but guaranteed to be signed.unsigned char same as char
, but guaranteed to be unsigned.short
short int
signed short
signed short intshort signed integer type. At least 16 bits in size. unsigned short
unsigned short intsame as short
, but unsigned.int
signed intbasic signed integer type. At least 16 bits in size. unsigned
unsigned intsame as int
, but unsigned.long
long int
signed long
signed long intlong signed integer type. At least 32 bits in size. unsigned long
unsigned long intsame as long
, but unsigned.long long
long long int
signed long long
signed long long intlong long signed integer type. At least 64 bits in size. Specified since the C99 version of the standard. unsigned long long
unsigned long long intsame as long long
, but unsigned. Specified only in C99 version of the standard.float (single precision) floating-point type. Actual properties unspecified, however on most systems this is IEEE 754 single precision floating point format. double double precision floating-point type. Actual properties unspecified, however on most systems this isIEEE 754 double precision floating point format. long double extended precision floating-point type. Actual properties unspecified. Unlike types float anddouble, it can be either 80-bit floating point format, the non-IEEE "double-double" or IEEE 754 quadruple precision floating-point format if a higher precision format is provided, otherwise it is the same as double. See this page for details.
exercise 4(unit 3) solution
base on the flow chart.
write a coding.
Here is the example which implementing while loop.
#include <stdio.h>
main()
{
int a =1;
float total = 0;
int total_A = 0;
int total_B = 0;
int total_C = 0;
int total_D = 0;
int total_F = 0;
float marks;
while (a<19) // be aware that in the flow chart i just use 11 for 10 value, in the test data it give 18
values.
{
printf("\nInsert the %d's student's marks = ", a);
scanf("%f", &marks);
if (marks>100) {
printf("Invalid marks value(must be less than 100)");
} else if (marks>=90) {
//printf("Grade is: A");
total_A+=1;
} else if (marks>=70) {
//printf("Grade is: B");
total_B+=1;
} else if (marks>=50) {
//printf("Grade is: C");
total_C+=1;
} else if (marks>=35) {
//printf("Grade is: D");
total_D+=1;
} else if (marks>=0) {
//printf("Grade is: F");
total_F+=1;
} else {
printf("Invalid score");
}
a++;
}
printf("A's scorer = %d\n",total_A);
printf("B's scorer = %d\n",total_B);
printf("C's scorer= %d\n",total_C);
printf("D's scorer= %d\n",total_D);
printf("D's scorer= %d\n",total_F)
}
RFID READING MATERIAL
Here are some good information to enhance your knowledge.
http://www.ziddu.com/download/20225195/RFIDTutorial.rar.html
RFID TECHNOLOGIES
WIRELESS SLIDE UNIT 4
DEAR ATHIRAH,
thank you so much for noticing me.
http://www.ziddu.com/download/20225002/Unit4_Jul.rar.html
SELAMAT HARI RAYA
EXERCISE 4 C PROGRAMMING(UNIT 3)
Assalamualaikum,
First of all I would like to thanks mr usman, mr ridzuan mohayudin, mr afdzal and mr daus for their feedback for the given exercises.
Mr hasnan has send me an email but maybe he forgotted to attach the file.
Honestly i was really frustrated, bored and upset with your attitude.
THE ONLY MAN THAT CAN CHANGE YOU IS YOU!
DO SELF MUHASABAH TO DETERMINE THE MAIN OBJECTIVE YOU ENTERING THIS COLLEGE!
you must do something!
you must do something!
you must do something!
fyi: none of you are having the right solution for exercise 4.
I do really look up for some of you to see me yesterday.
but none of you do so...
BEST OF LUCK!
C PRO SLIDE UNIT 4
Assalamualaikum Asahi san,
Here is your latest slide:
http://www.ziddu.com/download/20074801/UNIT4_1.rar.html
Happy Praying...
WIRELES DEVICES SLIDE 2 & 3
Dear Kuroi,
Here is the slide for unit 2 & unit 3.
http://www.ziddu.com/download/20014674/UNIT2_3.rar.html
http://www.ziddu.com/download/20014675/UNIT3_Jul.rar.html
all the best..
WIRELESS DEVICES NOTES
Dear Kuroi,
Please download your notes (all 9 chapter) from this link:
http://www.ziddu.com/download/20014650/THEORY.rar.html
Thank You
C PRO : PRACTICAL ASSESSMENT 1 TOP SCORER
CONGRATULATION TO MR:
1. USMAN
2. HAFIZ
3. MOHAMMAD RIDZUAN MOHAYUDIN
4. NURAFDZAL SYAZWAN
FOR YOUR EXCELLENT PERFORMANCE IN OUR 1ST ASSESSMENT !!!!
KEEP IT UP!!!!
C PRO SLIDE UNIT 3
Dear Asahi,
Please download the slide for unit 3 via this link:
http://www.ziddu.com/download/19988692/UNIT3CPRO.rar.html
Please try all the exercises and examples.
Selamat Berbuka Puasa & Selamat Menunaikan solat Terawikh
C PRO ASSIGNMENT 1
http://www.ziddu.com/download/19972916/ASGMT1_C_PRO.rar.html
C PRO EXERCISE 2 student performance
Here is list of student with coding nearly close to the correct answer:
1. Mohd Firdaus
2. Hafiz Yusof
3. Hasnan
4. Ridzuan Mohayudin
Congratulations!
C PRO EXERCISE 2.. 17/07/2012
Assalamualaikum,
This is the correction i've made to hafiz coding.
//Writer: Hafiz Yusof
#include <stdio.h>
int main()
{
int voltage=20;
int current=6;
int resistance,remainder;
resistance=voltage/current;
remainder=voltage%current;
printf("the resistance value is %d\n",resistance);
printf("the remainder value is %d\n",remainder);
return 0;
}
comment:
overall is ok..
but for the resistance value, it will be perfect if the answer is in floating number.
for example 20 divide by 6 suppose the answer is 3.3333.
in your coding you put it as int which make the answer is 3.
good luck!
UNIT 2 Slide
dear Asahi,
please try all the examples and exercises.
good luck!
http://www.ziddu.com/download/19898058/UNIT2_2.rar.html
sample answer corrected from ridzuan answer
Dear Asahi,
from all 6 submitted anwer for the exercise given, only mr ridzuan file can be read.
i have correct his coding. you can use his corrected coding here for your reference.
#include <stdio.h>
/*writer: Mr Ridzuan*/
int main()
{
float float1,float2;
float square1, square2;
//int integer1,integer2; tk perlu
//printf("Please insert first decimal number of your choice\n",float1); ni yg awk buat
printf("Please insert first decimal number of your choice\n"); //ni yg sy betulkn, tk perlu ade float1
scanf("%f",&float1);//jgn letak \n dkat %f d scanf
printf("Your first decimal is %f\n\n",float1);
//printf("Please insert second decimal number of your choice\n",float2);
printf("Please insert second decimal number of your choice\n"); //tk perlu ade float2
scanf("%f",&float2);
printf("Your second decimal is %f\n\n",float2);
//float3 = float1 * float2; sy nk squarekn??
square1 = float1*float1;
square2 = float2*float2;
//printf("The equation of square of two decimal number your choice is %f\n",float3); tk perlu
printf("The square of %f is %f and square of %f is %f\n",float1,square1,float2,square2);
return 0;
}
C PROGRAMMING UNIT 1 SLIDE & NOTES
Assalamualaikum Asahi Students,
Please download the notes(modul) and unit 1 slide.
http://www.ziddu.com/download/19851388/THEORY.rar.html
http://www.ziddu.com/download/19851389/unit1_slide.rar.html
Besh Regards,
Norhamimi Hamdan
5S activities at Embedded Operating System Labs
WIRELESS EMBEDDED DEVICES UNIT 1
Notes and powerpoint for unit 1.
http://www.ziddu.com/download/19834192/unit1.rar.html
LETS ENJOY LEARNING TOGETHER
Assalamualaikum Students,
This site is developed especially for all of you. This is the field where you may download notes, tutorial or any material that can support your studies. Beside that you are allowed to discuss, to ask, to share or to comment on any topic related to your studies. You may upload any material as long as it may drive you to better students.
I hope all of you may use this opportunity as it provided freely here.
All the Best.