SlideShare a Scribd company logo
1.                 >    ?
     1.                     3.
     2.                     4.
2.                 <    ?
     1.                     3.
     2.                     4.
3.                          ?
     1.                     3.
     2.                     4.
4.                 <=       ?
     1.                     3.
     2.                     4.
5.                 >=       ?
     1.                     3.
     2.                     4.


                                  C
                                 6-10
#include <stdio.h>
#include <conio.h>
void main ( ) {
int X ;
float Y ;
     Char A, B ;
     Z, Ans :boolean;
clrscr ( );
X == 5;
     Y == 23.67;
     A == 'W');
     B == 'c');
     Z == true;
Ans == (X<>Y) and (A < B);
printf ("%d", Ans);
Ans == (Y>==X) and not (X<>Y);
printf ("%d", Ans);
Ans == (A<>B) or (X<==Y);
printf ("%d", Ans);
Ans == (X<>Y) and (A > B);
printf ("%d", Ans);
Ans == (Y>==X) or (X<>Y);
printf ("%d", Ans);
getch ( );
}
                                    'W'        87 'c'       99
6.          X <> Y) and (A < B)                   ?
     1.                                   3.
     2.                                   4.
7.          Y>=X) and not (X <>Y)                       ?
     1.                                   3.
     2.                                   4.
8.          A <> B) or (X < =Y)                   ?
1.                            3.
     2.                            4.
9.          X <> Y) and (A > B)             ?
     1.                            3.
     2.                            4.
10.          Y >= X) or (X <> Y)            ?
     1.                            3.
     2.                            4.


                                        11-12
#include <stdio.h>
#include <conio.h>
void main ( ) {
IntNum1 ;
     Float Num2 ;
     Char Ch ;
     String Str ;
     Num1 == 23 ;
     Num2 == 0.97 ;
Ch == 'z' ;
Str == 'Great !' ;
printf ("Num1 = ", Num1) ;
printf ("Num2 = ", Num2) ;
printf ("Ch = ", Ch) ;
printf ("Str = ", Str) ;
getch ( ) ;
}


11.         printf ('Str = ', Str');                ?
    1. 23                              3. z
    2. 0.97                            4. Great !
12.                     Run
printf                    ?
    1.             Number
    2.             String
    3.
    4.
                                          13-15
#include <stdio.h>
#include <conio.h>
void main ( ) {
IntNum1 ;
    Float Num2 ;
    Char Ch ;
    String Str ;
Clrscr;
    Num1 == 23;
    Num2 == 0.97;
Ch == "z";
Str == "Great !";
printf ("Num1 = ", Num1);
printf ("Num2 = ", Num2);
printf ("Ch = ", Ch);
printf ("Str = ", Str);
getch ( );
}


13.          printf ("Ch = ", Ch);                    ?
    1. 0.97                              3. z
    2. 23                                4. Great !
14.          printf ("Num2 = ", Num2);                    ?
    1. 0.97                              3. 23
    2. 22.03                             4. 23.97
15.                    Run
printf                    ?
    1.             Number
    2.             String
    3.
    4.


                                            16-17
#include <stdio.h>
#include <conio.h>
void main ( ) {
int Number ;
ClrScr;
printf ("Enter an integer number : ");
scanf ("%d", Number);
printf ("You entered ", Number);
scanf ("%d", Number);
getch ( );
}


16.          Printf        7                     ?
    1. =                                 3. :=
    2. =>                                4. ;=
17.          Scanf         10                        ?
    1. Single Quote                      3. Comma
    2. Double Quote                      4. Semi Colon




                                            18-20
#include <stdio.h>
#include <conio.h>
void main ( ) {
IntNum1 ;
    Float Num2 ;
    String Name ;
Clrscr ;
printf ("Enter your name : ") ;
scanf ("%C", Name) ;
printf ('Enter your age and salary : ') ;
scanf ("%C",Num1) ;
scanf ("%C",Num2) ;
printf ('Your name is ', Name) ;
printf ('You are ', Num1,' years old.') ;
printf ('Your salary ', Num2:2:2) ;
getch ( ) ;
}


18. ReadLn               9             ?
    1.                                     3.
         Num1                                   Num1
    2.                                     4.
         Name                                   Name
19. WriteLn              13             ?
    1.                                     3.
         Num1                                   Num1
    2.                                     4.
         Name                                   Name
20.                                      15           Num2:2:2 ?
  1.                Num2                          2                      2
  2.                Num                       2                      2
  3.                Num2                          2
  4.                Num                       2


                          Variables)
21. Float A, B ;     A       B                               ?
  1.                                      3.
  2.                                      4.
22.     10, 12, 0                    ?
  1. Number                               3. Char
  2. Float                                4. String
23. int A , B ;     A        B                           ?
  1. Integer                              3. Char
  2. Float                                4. String
24. Double A, B ;        A       B                               ?
  1.                                      3.
  2.                                      4.
25. Char A, B ;      A       B                               ?
  1.                                      3.
  2.                                      4.



                                          6-10
#include <stdio.h>
#include <conio.h>
void main( )
{
    A = 3;
    B = 15;
    C = 12;
    D = 8;
printf ("A+B+C =", A+B+C);
printf ("A+(B-C) =", A+(B-C));
printf ("(D-A)-2 =", (D-A)-2);
printf ("B DIV A =", B DIV A);
printf ("C MOD D =", C MOD D);
getch ( );
}


26. A+B+C = ?
    1. 30                        3. 3
    2. 6                         4. ABC
27. A+(B-C) = ?
    1. 30                        3. 3
    2. 6                         4. A+(B-C)
28. (D-A) - 2 = ?
    1. 30                        3. 3
    2. 6                         4. (D-A) - 2
29. B DIV A = ?
  1. 30                   3. 5
  2. 6                    4. 3
30. C MOD D = ?
  1. 30                   3. 3
  2. 4                    4. 1
                        1-10
31.                              ?
  1. If...                3. switch...else
  2. If...else            4.
32.                        ?
  1.                      3.
  2.                      4.
33.          case                    switch
                    ?
  1. break                3. while
  2. { }                  4. include
34.
                                              ?
  1. for                  3. while
  2. do-while             4. If....else
35.                                       ?
  1. continue             3. break
  2. switch               4.
36.            case                                   switch
                              ?
    1. break                               3. while
    2. { }                                 4. include
37.            6
?
    1. if                                  3. do.....while
    2. default                             4.
38.                               switch
                          ?
    1. break                               3. default
    2. else                                4. case
39.                                             ?
    1. case '1' :                          3. case num + 7
    2. if (ch== 'Y' +1)                    4.
40.                   if                   ?
    1. if (sale >=100000 <= 500000) Commission 0.025
    2. if (sale >=100,000 and sales 500,000) Commission 2.5%
    3. if (sale >=200000 && sales 500000) Commission 0.050
    4. if (sale between 100000 to 500000) Commission 0.025

More Related Content

What's hot

Vcs16
Vcs16Vcs16
C Prog. - ASCII Values, Break, Continue
C Prog. -  ASCII Values, Break, ContinueC Prog. -  ASCII Values, Break, Continue
C Prog. - ASCII Values, Break, Continue
vinay arora
 
Programa en C++ ( escriba 3 números y diga cual es el mayor))
Programa en C++ ( escriba 3 números y diga cual es el mayor))Programa en C++ ( escriba 3 números y diga cual es el mayor))
Programa en C++ ( escriba 3 números y diga cual es el mayor))
Alex Penso Romero
 
C Prog. - Structures
C Prog. - StructuresC Prog. - Structures
C Prog. - Structures
vinay arora
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซี
kramsri
 
C Prog - Strings
C Prog - StringsC Prog - Strings
C Prog - Strings
vinay arora
 
C Prog. - Strings (Updated)
C Prog. - Strings (Updated)C Prog. - Strings (Updated)
C Prog. - Strings (Updated)
vinay arora
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซี
kramsri
 
C lab manaual
C lab manaualC lab manaual
C lab manaual
manoj11manu
 
2 d matrices
2 d matrices2 d matrices
2 d matrices
Himanshu Arora
 
Cpds lab
Cpds labCpds lab
Cn os-lp lab manual k.roshan
Cn os-lp lab manual k.roshanCn os-lp lab manual k.roshan
Cn os-lp lab manual k.roshan
riturajj
 
Computer graphics programs in c++
Computer graphics programs in c++Computer graphics programs in c++
Computer graphics programs in c++
Ankit Kumar
 
Mini-curso JavaFX Aula2
Mini-curso JavaFX Aula2Mini-curso JavaFX Aula2
Mini-curso JavaFX Aula2
Raphael Marques
 
C programs Set 3
C programs Set 3C programs Set 3
C programs Set 3
Koshy Geoji
 
Bayane moujazine umt cdt- untm
Bayane moujazine umt  cdt- untmBayane moujazine umt  cdt- untm
Bayane moujazine umt cdt- untm
sharqedu
 
Nonlinear analysis of braced frame with hinge by hinge method in c programming
Nonlinear analysis of braced frame with hinge by hinge method in c programmingNonlinear analysis of braced frame with hinge by hinge method in c programming
Nonlinear analysis of braced frame with hinge by hinge method in c programming
Salar Delavar Qashqai
 
Metodologia de la programación - expresiones
Metodologia de la programación - expresionesMetodologia de la programación - expresiones
Metodologia de la programación - expresiones
Mar_Angeles
 
DataStructures notes
DataStructures notesDataStructures notes
DataStructures notes
Lakshmi Sarvani Videla
 
Data Structures Using C Practical File
Data Structures Using C Practical File Data Structures Using C Practical File
Data Structures Using C Practical File
Rahul Chugh
 

What's hot (20)

Vcs16
Vcs16Vcs16
Vcs16
 
C Prog. - ASCII Values, Break, Continue
C Prog. -  ASCII Values, Break, ContinueC Prog. -  ASCII Values, Break, Continue
C Prog. - ASCII Values, Break, Continue
 
Programa en C++ ( escriba 3 números y diga cual es el mayor))
Programa en C++ ( escriba 3 números y diga cual es el mayor))Programa en C++ ( escriba 3 números y diga cual es el mayor))
Programa en C++ ( escriba 3 números y diga cual es el mayor))
 
C Prog. - Structures
C Prog. - StructuresC Prog. - Structures
C Prog. - Structures
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซี
 
C Prog - Strings
C Prog - StringsC Prog - Strings
C Prog - Strings
 
C Prog. - Strings (Updated)
C Prog. - Strings (Updated)C Prog. - Strings (Updated)
C Prog. - Strings (Updated)
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซี
 
C lab manaual
C lab manaualC lab manaual
C lab manaual
 
2 d matrices
2 d matrices2 d matrices
2 d matrices
 
Cpds lab
Cpds labCpds lab
Cpds lab
 
Cn os-lp lab manual k.roshan
Cn os-lp lab manual k.roshanCn os-lp lab manual k.roshan
Cn os-lp lab manual k.roshan
 
Computer graphics programs in c++
Computer graphics programs in c++Computer graphics programs in c++
Computer graphics programs in c++
 
Mini-curso JavaFX Aula2
Mini-curso JavaFX Aula2Mini-curso JavaFX Aula2
Mini-curso JavaFX Aula2
 
C programs Set 3
C programs Set 3C programs Set 3
C programs Set 3
 
Bayane moujazine umt cdt- untm
Bayane moujazine umt  cdt- untmBayane moujazine umt  cdt- untm
Bayane moujazine umt cdt- untm
 
Nonlinear analysis of braced frame with hinge by hinge method in c programming
Nonlinear analysis of braced frame with hinge by hinge method in c programmingNonlinear analysis of braced frame with hinge by hinge method in c programming
Nonlinear analysis of braced frame with hinge by hinge method in c programming
 
Metodologia de la programación - expresiones
Metodologia de la programación - expresionesMetodologia de la programación - expresiones
Metodologia de la programación - expresiones
 
DataStructures notes
DataStructures notesDataStructures notes
DataStructures notes
 
Data Structures Using C Practical File
Data Structures Using C Practical File Data Structures Using C Practical File
Data Structures Using C Practical File
 

Similar to ภาษา C

C programs Set 2
C programs Set 2C programs Set 2
C programs Set 2
Koshy Geoji
 
Srinivas Reddy Amedapu C and Data Structures JNTUH Hyderabad
Srinivas Reddy Amedapu C and Data Structures JNTUH HyderabadSrinivas Reddy Amedapu C and Data Structures JNTUH Hyderabad
Srinivas Reddy Amedapu C and Data Structures JNTUH Hyderabad
Srinivas Reddy Amedapu
 
Srinivas Reddy Amedapu, CPDS, CP Lab, JNTU Hyderabad
Srinivas Reddy Amedapu, CPDS, CP Lab, JNTU HyderabadSrinivas Reddy Amedapu, CPDS, CP Lab, JNTU Hyderabad
Srinivas Reddy Amedapu, CPDS, CP Lab, JNTU Hyderabad
Srinivas Reddy Amedapu
 
Simple C programs
Simple C programsSimple C programs
Simple C programs
ab11cs001
 
C programs
C programsC programs
C programs
Minu S
 
บทที่ 3
บทที่ 3บทที่ 3
C lab excellent
C lab excellentC lab excellent
C lab excellent
Srinivas Reddy Amedapu
 
C and Data Structures Lab Solutions
C and Data Structures Lab SolutionsC and Data Structures Lab Solutions
C and Data Structures Lab Solutions
Srinivas Reddy Amedapu
 
C and Data Structures
C and Data Structures C and Data Structures
C and Data Structures
Srinivas Reddy Amedapu
 
c programs.pptx
c programs.pptxc programs.pptx
c programs.pptx
LavanyaDiet1
 
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1
Little Tukta Lita
 
Lab 10 sem ii_12_13
Lab 10 sem ii_12_13Lab 10 sem ii_12_13
Lab 10 sem ii_12_13
alish sha
 
Slide set 6 Strings and pointers.pdf
Slide set 6 Strings and pointers.pdfSlide set 6 Strings and pointers.pdf
Slide set 6 Strings and pointers.pdf
HimanshuKansal22
 
C lab programs
C lab programsC lab programs
C lab programs
Dr. Prashant Vats
 
C lab programs
C lab programsC lab programs
C lab programs
Dr. Prashant Vats
 
MATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdfMATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdf
ahmed8651
 
C lab-programs
C lab-programsC lab-programs
C lab-programs
Tony Kurishingal
 
C Programming Exam problems & Solution by sazzad hossain
C Programming Exam problems & Solution by sazzad hossainC Programming Exam problems & Solution by sazzad hossain
C Programming Exam problems & Solution by sazzad hossain
Sazzad Hossain, ITP, MBA, CSCA™
 
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
Little Tukta Lita
 
Progr3
Progr3Progr3
Progr3
SANTOSH RATH
 

Similar to ภาษา C (20)

C programs Set 2
C programs Set 2C programs Set 2
C programs Set 2
 
Srinivas Reddy Amedapu C and Data Structures JNTUH Hyderabad
Srinivas Reddy Amedapu C and Data Structures JNTUH HyderabadSrinivas Reddy Amedapu C and Data Structures JNTUH Hyderabad
Srinivas Reddy Amedapu C and Data Structures JNTUH Hyderabad
 
Srinivas Reddy Amedapu, CPDS, CP Lab, JNTU Hyderabad
Srinivas Reddy Amedapu, CPDS, CP Lab, JNTU HyderabadSrinivas Reddy Amedapu, CPDS, CP Lab, JNTU Hyderabad
Srinivas Reddy Amedapu, CPDS, CP Lab, JNTU Hyderabad
 
Simple C programs
Simple C programsSimple C programs
Simple C programs
 
C programs
C programsC programs
C programs
 
บทที่ 3
บทที่ 3บทที่ 3
บทที่ 3
 
C lab excellent
C lab excellentC lab excellent
C lab excellent
 
C and Data Structures Lab Solutions
C and Data Structures Lab SolutionsC and Data Structures Lab Solutions
C and Data Structures Lab Solutions
 
C and Data Structures
C and Data Structures C and Data Structures
C and Data Structures
 
c programs.pptx
c programs.pptxc programs.pptx
c programs.pptx
 
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1
 
Lab 10 sem ii_12_13
Lab 10 sem ii_12_13Lab 10 sem ii_12_13
Lab 10 sem ii_12_13
 
Slide set 6 Strings and pointers.pdf
Slide set 6 Strings and pointers.pdfSlide set 6 Strings and pointers.pdf
Slide set 6 Strings and pointers.pdf
 
C lab programs
C lab programsC lab programs
C lab programs
 
C lab programs
C lab programsC lab programs
C lab programs
 
MATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdfMATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdf
 
C lab-programs
C lab-programsC lab-programs
C lab-programs
 
C Programming Exam problems & Solution by sazzad hossain
C Programming Exam problems & Solution by sazzad hossainC Programming Exam problems & Solution by sazzad hossain
C Programming Exam problems & Solution by sazzad hossain
 
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
 
Progr3
Progr3Progr3
Progr3
 

More from พงศธร ภักดี

Excel
ExcelExcel
แผนการสอน ผลิตสื่อวีดีทัศน์ ม.6
แผนการสอน ผลิตสื่อวีดีทัศน์ ม.6แผนการสอน ผลิตสื่อวีดีทัศน์ ม.6
แผนการสอน ผลิตสื่อวีดีทัศน์ ม.6
พงศธร ภักดี
 
แผนการสอน เว็บไซต์ ม.5
แผนการสอน เว็บไซต์ ม.5แผนการสอน เว็บไซต์ ม.5
แผนการสอน เว็บไซต์ ม.5พงศธร ภักดี
 
แผนการสอน โปรแกรมคอมพิวเตอร์กราฟิก ม.4
แผนการสอน โปรแกรมคอมพิวเตอร์กราฟิก ม.4แผนการสอน โปรแกรมคอมพิวเตอร์กราฟิก ม.4
แผนการสอน โปรแกรมคอมพิวเตอร์กราฟิก ม.4พงศธร ภักดี
 
แผนการสอน ระบบเครือข่าย ม.3
แผนการสอน ระบบเครือข่าย ม.3แผนการสอน ระบบเครือข่าย ม.3
แผนการสอน ระบบเครือข่าย ม.3พงศธร ภักดี
 
แผนการสอน ระบบเครือข่าย ม.3
แผนการสอน ระบบเครือข่าย ม.3แผนการสอน ระบบเครือข่าย ม.3
แผนการสอน ระบบเครือข่าย ม.3พงศธร ภักดี
 
แผนการจัดการเรียนรู้ ส่วนประกอบคอมพิวเตอร์ ม.2
แผนการจัดการเรียนรู้ ส่วนประกอบคอมพิวเตอร์ ม.2แผนการจัดการเรียนรู้ ส่วนประกอบคอมพิวเตอร์ ม.2
แผนการจัดการเรียนรู้ ส่วนประกอบคอมพิวเตอร์ ม.2
พงศธร ภักดี
 
แผนการสอน ระบบปฏิบัติการ Windows ม.1
แผนการสอน ระบบปฏิบัติการ Windows ม.1แผนการสอน ระบบปฏิบัติการ Windows ม.1
แผนการสอน ระบบปฏิบัติการ Windows ม.1พงศธร ภักดี
 
Namo webeditor 6
Namo webeditor 6Namo webeditor 6
Java
JavaJava
Excel
ExcelExcel
Photoshop
PhotoshopPhotoshop
สร้างตัวหนังสือแตกๆ ด้วย Photoshop
สร้างตัวหนังสือแตกๆ ด้วย Photoshopสร้างตัวหนังสือแตกๆ ด้วย Photoshop
สร้างตัวหนังสือแตกๆ ด้วย Photoshopพงศธร ภักดี
 
คู่มือOpen office
คู่มือOpen officeคู่มือOpen office
คู่มือOpen office
พงศธร ภักดี
 
คู่มือOpen office
คู่มือOpen officeคู่มือOpen office
คู่มือOpen office
พงศธร ภักดี
 

More from พงศธร ภักดี (20)

วิชากราฟิก
วิชากราฟิกวิชากราฟิก
วิชากราฟิก
 
Web
WebWeb
Web
 
Powerpoint
PowerpointPowerpoint
Powerpoint
 
Excel
ExcelExcel
Excel
 
คอมเบื้องต้น1web
คอมเบื้องต้น1webคอมเบื้องต้น1web
คอมเบื้องต้น1web
 
C
CC
C
 
แผนการสอน ผลิตสื่อวีดีทัศน์ ม.6
แผนการสอน ผลิตสื่อวีดีทัศน์ ม.6แผนการสอน ผลิตสื่อวีดีทัศน์ ม.6
แผนการสอน ผลิตสื่อวีดีทัศน์ ม.6
 
แผนการสอน เว็บไซต์ ม.5
แผนการสอน เว็บไซต์ ม.5แผนการสอน เว็บไซต์ ม.5
แผนการสอน เว็บไซต์ ม.5
 
แผนการสอน โปรแกรมคอมพิวเตอร์กราฟิก ม.4
แผนการสอน โปรแกรมคอมพิวเตอร์กราฟิก ม.4แผนการสอน โปรแกรมคอมพิวเตอร์กราฟิก ม.4
แผนการสอน โปรแกรมคอมพิวเตอร์กราฟิก ม.4
 
แผนการสอน ระบบเครือข่าย ม.3
แผนการสอน ระบบเครือข่าย ม.3แผนการสอน ระบบเครือข่าย ม.3
แผนการสอน ระบบเครือข่าย ม.3
 
แผนการสอน ระบบเครือข่าย ม.3
แผนการสอน ระบบเครือข่าย ม.3แผนการสอน ระบบเครือข่าย ม.3
แผนการสอน ระบบเครือข่าย ม.3
 
แผนการจัดการเรียนรู้ ส่วนประกอบคอมพิวเตอร์ ม.2
แผนการจัดการเรียนรู้ ส่วนประกอบคอมพิวเตอร์ ม.2แผนการจัดการเรียนรู้ ส่วนประกอบคอมพิวเตอร์ ม.2
แผนการจัดการเรียนรู้ ส่วนประกอบคอมพิวเตอร์ ม.2
 
แผนการสอน ระบบปฏิบัติการ Windows ม.1
แผนการสอน ระบบปฏิบัติการ Windows ม.1แผนการสอน ระบบปฏิบัติการ Windows ม.1
แผนการสอน ระบบปฏิบัติการ Windows ม.1
 
Namo webeditor 6
Namo webeditor 6Namo webeditor 6
Namo webeditor 6
 
Java
JavaJava
Java
 
Excel
ExcelExcel
Excel
 
Photoshop
PhotoshopPhotoshop
Photoshop
 
สร้างตัวหนังสือแตกๆ ด้วย Photoshop
สร้างตัวหนังสือแตกๆ ด้วย Photoshopสร้างตัวหนังสือแตกๆ ด้วย Photoshop
สร้างตัวหนังสือแตกๆ ด้วย Photoshop
 
คู่มือOpen office
คู่มือOpen officeคู่มือOpen office
คู่มือOpen office
 
คู่มือOpen office
คู่มือOpen officeคู่มือOpen office
คู่มือOpen office
 

Recently uploaded

原版制作(Mercer毕业证书)摩斯大学毕业证在读证明一模一样
原版制作(Mercer毕业证书)摩斯大学毕业证在读证明一模一样原版制作(Mercer毕业证书)摩斯大学毕业证在读证明一模一样
原版制作(Mercer毕业证书)摩斯大学毕业证在读证明一模一样
mul1kv5w
 
Christian Louboutin: Innovating with Red Soles
Christian Louboutin: Innovating with Red SolesChristian Louboutin: Innovating with Red Soles
Christian Louboutin: Innovating with Red Soles
get joys
 
The Gallery of Shadows, In the heart of a bustling city
The Gallery of Shadows, In the heart of a bustling cityThe Gallery of Shadows, In the heart of a bustling city
The Gallery of Shadows, In the heart of a bustling city
John Emmett
 
From Swing Music to Big Band Fame_ 5 Iconic Artists.pptx
From Swing Music to Big Band Fame_ 5 Iconic Artists.pptxFrom Swing Music to Big Band Fame_ 5 Iconic Artists.pptx
From Swing Music to Big Band Fame_ 5 Iconic Artists.pptx
Swing Street Radio
 
University of Western Sydney degree offer diploma Transcript
University of Western Sydney degree offer diploma TranscriptUniversity of Western Sydney degree offer diploma Transcript
University of Western Sydney degree offer diploma Transcript
soxrziqu
 
DIGIDEVTV A New area of OTT Distribution
DIGIDEVTV  A New area of OTT DistributionDIGIDEVTV  A New area of OTT Distribution
DIGIDEVTV A New area of OTT Distribution
joeqsm
 
Unveiling Paul Haggis Shaping Cinema Through Diversity. .pdf
Unveiling Paul Haggis Shaping Cinema Through Diversity. .pdfUnveiling Paul Haggis Shaping Cinema Through Diversity. .pdf
Unveiling Paul Haggis Shaping Cinema Through Diversity. .pdf
kenid14983
 
Orpah Winfrey Dwayne Johnson: Titans of Influence and Inspiration
Orpah Winfrey Dwayne Johnson: Titans of Influence and InspirationOrpah Winfrey Dwayne Johnson: Titans of Influence and Inspiration
Orpah Winfrey Dwayne Johnson: Titans of Influence and Inspiration
greendigital
 
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
9u08k0x
 
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
9u08k0x
 
Everything You Need to Know About IPTV Ireland.pdf
Everything You Need to Know About IPTV Ireland.pdfEverything You Need to Know About IPTV Ireland.pdf
Everything You Need to Know About IPTV Ireland.pdf
Xtreame HDTV
 
Modern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
Modern Radio Frequency Access Control Systems: The Key to Efficiency and SafetyModern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
Modern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
AITIX LLC
 
定制(uow毕业证书)卧龙岗大学毕业证文凭学位证书原版一模一样
定制(uow毕业证书)卧龙岗大学毕业证文凭学位证书原版一模一样定制(uow毕业证书)卧龙岗大学毕业证文凭学位证书原版一模一样
定制(uow毕业证书)卧龙岗大学毕业证文凭学位证书原版一模一样
0md20cgg
 
The Evolution of the Leonardo DiCaprio Haircut: A Journey Through Style and C...
The Evolution of the Leonardo DiCaprio Haircut: A Journey Through Style and C...The Evolution of the Leonardo DiCaprio Haircut: A Journey Through Style and C...
The Evolution of the Leonardo DiCaprio Haircut: A Journey Through Style and C...
greendigital
 
Barbie Movie Review - The Astras.pdfffff
Barbie Movie Review - The Astras.pdfffffBarbie Movie Review - The Astras.pdfffff
Barbie Movie Review - The Astras.pdfffff
theastras43
 
Emcee Profile_ Subbu from Bangalore .pdf
Emcee Profile_ Subbu from Bangalore .pdfEmcee Profile_ Subbu from Bangalore .pdf
Emcee Profile_ Subbu from Bangalore .pdf
subran
 
Top IPTV UK Providers of A Comprehensive Review.pdf
Top IPTV UK Providers of A Comprehensive Review.pdfTop IPTV UK Providers of A Comprehensive Review.pdf
Top IPTV UK Providers of A Comprehensive Review.pdf
Xtreame HDTV
 
The Enigmatic Portrait, In the heart of a sleepy town
The Enigmatic Portrait, In the heart of a sleepy townThe Enigmatic Portrait, In the heart of a sleepy town
The Enigmatic Portrait, In the heart of a sleepy town
John Emmett
 
The Unbelievable Tale of Dwayne Johnson Kidnapping: A Riveting Saga
The Unbelievable Tale of Dwayne Johnson Kidnapping: A Riveting SagaThe Unbelievable Tale of Dwayne Johnson Kidnapping: A Riveting Saga
The Unbelievable Tale of Dwayne Johnson Kidnapping: A Riveting Saga
greendigital
 
Leonardo DiCaprio House: A Journey Through His Extravagant Real Estate Portfolio
Leonardo DiCaprio House: A Journey Through His Extravagant Real Estate PortfolioLeonardo DiCaprio House: A Journey Through His Extravagant Real Estate Portfolio
Leonardo DiCaprio House: A Journey Through His Extravagant Real Estate Portfolio
greendigital
 

Recently uploaded (20)

原版制作(Mercer毕业证书)摩斯大学毕业证在读证明一模一样
原版制作(Mercer毕业证书)摩斯大学毕业证在读证明一模一样原版制作(Mercer毕业证书)摩斯大学毕业证在读证明一模一样
原版制作(Mercer毕业证书)摩斯大学毕业证在读证明一模一样
 
Christian Louboutin: Innovating with Red Soles
Christian Louboutin: Innovating with Red SolesChristian Louboutin: Innovating with Red Soles
Christian Louboutin: Innovating with Red Soles
 
The Gallery of Shadows, In the heart of a bustling city
The Gallery of Shadows, In the heart of a bustling cityThe Gallery of Shadows, In the heart of a bustling city
The Gallery of Shadows, In the heart of a bustling city
 
From Swing Music to Big Band Fame_ 5 Iconic Artists.pptx
From Swing Music to Big Band Fame_ 5 Iconic Artists.pptxFrom Swing Music to Big Band Fame_ 5 Iconic Artists.pptx
From Swing Music to Big Band Fame_ 5 Iconic Artists.pptx
 
University of Western Sydney degree offer diploma Transcript
University of Western Sydney degree offer diploma TranscriptUniversity of Western Sydney degree offer diploma Transcript
University of Western Sydney degree offer diploma Transcript
 
DIGIDEVTV A New area of OTT Distribution
DIGIDEVTV  A New area of OTT DistributionDIGIDEVTV  A New area of OTT Distribution
DIGIDEVTV A New area of OTT Distribution
 
Unveiling Paul Haggis Shaping Cinema Through Diversity. .pdf
Unveiling Paul Haggis Shaping Cinema Through Diversity. .pdfUnveiling Paul Haggis Shaping Cinema Through Diversity. .pdf
Unveiling Paul Haggis Shaping Cinema Through Diversity. .pdf
 
Orpah Winfrey Dwayne Johnson: Titans of Influence and Inspiration
Orpah Winfrey Dwayne Johnson: Titans of Influence and InspirationOrpah Winfrey Dwayne Johnson: Titans of Influence and Inspiration
Orpah Winfrey Dwayne Johnson: Titans of Influence and Inspiration
 
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
哪里买(osu毕业证书)美国俄勒冈州立大学毕业证双学位证书原版一模一样
 
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
高仿(nyu毕业证书)美国纽约大学毕业证文凭毕业证原版一模一样
 
Everything You Need to Know About IPTV Ireland.pdf
Everything You Need to Know About IPTV Ireland.pdfEverything You Need to Know About IPTV Ireland.pdf
Everything You Need to Know About IPTV Ireland.pdf
 
Modern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
Modern Radio Frequency Access Control Systems: The Key to Efficiency and SafetyModern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
Modern Radio Frequency Access Control Systems: The Key to Efficiency and Safety
 
定制(uow毕业证书)卧龙岗大学毕业证文凭学位证书原版一模一样
定制(uow毕业证书)卧龙岗大学毕业证文凭学位证书原版一模一样定制(uow毕业证书)卧龙岗大学毕业证文凭学位证书原版一模一样
定制(uow毕业证书)卧龙岗大学毕业证文凭学位证书原版一模一样
 
The Evolution of the Leonardo DiCaprio Haircut: A Journey Through Style and C...
The Evolution of the Leonardo DiCaprio Haircut: A Journey Through Style and C...The Evolution of the Leonardo DiCaprio Haircut: A Journey Through Style and C...
The Evolution of the Leonardo DiCaprio Haircut: A Journey Through Style and C...
 
Barbie Movie Review - The Astras.pdfffff
Barbie Movie Review - The Astras.pdfffffBarbie Movie Review - The Astras.pdfffff
Barbie Movie Review - The Astras.pdfffff
 
Emcee Profile_ Subbu from Bangalore .pdf
Emcee Profile_ Subbu from Bangalore .pdfEmcee Profile_ Subbu from Bangalore .pdf
Emcee Profile_ Subbu from Bangalore .pdf
 
Top IPTV UK Providers of A Comprehensive Review.pdf
Top IPTV UK Providers of A Comprehensive Review.pdfTop IPTV UK Providers of A Comprehensive Review.pdf
Top IPTV UK Providers of A Comprehensive Review.pdf
 
The Enigmatic Portrait, In the heart of a sleepy town
The Enigmatic Portrait, In the heart of a sleepy townThe Enigmatic Portrait, In the heart of a sleepy town
The Enigmatic Portrait, In the heart of a sleepy town
 
The Unbelievable Tale of Dwayne Johnson Kidnapping: A Riveting Saga
The Unbelievable Tale of Dwayne Johnson Kidnapping: A Riveting SagaThe Unbelievable Tale of Dwayne Johnson Kidnapping: A Riveting Saga
The Unbelievable Tale of Dwayne Johnson Kidnapping: A Riveting Saga
 
Leonardo DiCaprio House: A Journey Through His Extravagant Real Estate Portfolio
Leonardo DiCaprio House: A Journey Through His Extravagant Real Estate PortfolioLeonardo DiCaprio House: A Journey Through His Extravagant Real Estate Portfolio
Leonardo DiCaprio House: A Journey Through His Extravagant Real Estate Portfolio
 

ภาษา C

  • 1. 1. > ? 1. 3. 2. 4. 2. < ? 1. 3. 2. 4. 3. ? 1. 3. 2. 4. 4. <= ? 1. 3. 2. 4. 5. >= ? 1. 3. 2. 4. C 6-10 #include <stdio.h> #include <conio.h> void main ( ) { int X ; float Y ; Char A, B ; Z, Ans :boolean; clrscr ( );
  • 2. X == 5; Y == 23.67; A == 'W'); B == 'c'); Z == true; Ans == (X<>Y) and (A < B); printf ("%d", Ans); Ans == (Y>==X) and not (X<>Y); printf ("%d", Ans); Ans == (A<>B) or (X<==Y); printf ("%d", Ans); Ans == (X<>Y) and (A > B); printf ("%d", Ans); Ans == (Y>==X) or (X<>Y); printf ("%d", Ans); getch ( ); } 'W' 87 'c' 99 6. X <> Y) and (A < B) ? 1. 3. 2. 4. 7. Y>=X) and not (X <>Y) ? 1. 3. 2. 4. 8. A <> B) or (X < =Y) ?
  • 3. 1. 3. 2. 4. 9. X <> Y) and (A > B) ? 1. 3. 2. 4. 10. Y >= X) or (X <> Y) ? 1. 3. 2. 4. 11-12 #include <stdio.h> #include <conio.h> void main ( ) { IntNum1 ; Float Num2 ; Char Ch ; String Str ; Num1 == 23 ; Num2 == 0.97 ; Ch == 'z' ; Str == 'Great !' ; printf ("Num1 = ", Num1) ; printf ("Num2 = ", Num2) ; printf ("Ch = ", Ch) ; printf ("Str = ", Str) ;
  • 4. getch ( ) ; } 11. printf ('Str = ', Str'); ? 1. 23 3. z 2. 0.97 4. Great ! 12. Run printf ? 1. Number 2. String 3. 4. 13-15 #include <stdio.h> #include <conio.h> void main ( ) { IntNum1 ; Float Num2 ; Char Ch ; String Str ; Clrscr; Num1 == 23; Num2 == 0.97; Ch == "z"; Str == "Great !";
  • 5. printf ("Num1 = ", Num1); printf ("Num2 = ", Num2); printf ("Ch = ", Ch); printf ("Str = ", Str); getch ( ); } 13. printf ("Ch = ", Ch); ? 1. 0.97 3. z 2. 23 4. Great ! 14. printf ("Num2 = ", Num2); ? 1. 0.97 3. 23 2. 22.03 4. 23.97 15. Run printf ? 1. Number 2. String 3. 4. 16-17 #include <stdio.h> #include <conio.h> void main ( ) { int Number ;
  • 6. ClrScr; printf ("Enter an integer number : "); scanf ("%d", Number); printf ("You entered ", Number); scanf ("%d", Number); getch ( ); } 16. Printf 7 ? 1. = 3. := 2. => 4. ;= 17. Scanf 10 ? 1. Single Quote 3. Comma 2. Double Quote 4. Semi Colon 18-20 #include <stdio.h> #include <conio.h> void main ( ) {
  • 7. IntNum1 ; Float Num2 ; String Name ; Clrscr ; printf ("Enter your name : ") ; scanf ("%C", Name) ; printf ('Enter your age and salary : ') ; scanf ("%C",Num1) ; scanf ("%C",Num2) ; printf ('Your name is ', Name) ; printf ('You are ', Num1,' years old.') ; printf ('Your salary ', Num2:2:2) ; getch ( ) ; } 18. ReadLn 9 ? 1. 3. Num1 Num1 2. 4. Name Name 19. WriteLn 13 ? 1. 3. Num1 Num1 2. 4. Name Name
  • 8. 20. 15 Num2:2:2 ? 1. Num2 2 2 2. Num 2 2 3. Num2 2 4. Num 2 Variables) 21. Float A, B ; A B ? 1. 3. 2. 4. 22. 10, 12, 0 ? 1. Number 3. Char 2. Float 4. String 23. int A , B ; A B ? 1. Integer 3. Char 2. Float 4. String 24. Double A, B ; A B ? 1. 3. 2. 4. 25. Char A, B ; A B ? 1. 3. 2. 4. 6-10
  • 9. #include <stdio.h> #include <conio.h> void main( ) { A = 3; B = 15; C = 12; D = 8; printf ("A+B+C =", A+B+C); printf ("A+(B-C) =", A+(B-C)); printf ("(D-A)-2 =", (D-A)-2); printf ("B DIV A =", B DIV A); printf ("C MOD D =", C MOD D); getch ( ); } 26. A+B+C = ? 1. 30 3. 3 2. 6 4. ABC 27. A+(B-C) = ? 1. 30 3. 3 2. 6 4. A+(B-C) 28. (D-A) - 2 = ? 1. 30 3. 3 2. 6 4. (D-A) - 2
  • 10. 29. B DIV A = ? 1. 30 3. 5 2. 6 4. 3 30. C MOD D = ? 1. 30 3. 3 2. 4 4. 1 1-10 31. ? 1. If... 3. switch...else 2. If...else 4. 32. ? 1. 3. 2. 4. 33. case switch ? 1. break 3. while 2. { } 4. include 34. ? 1. for 3. while 2. do-while 4. If....else 35. ? 1. continue 3. break 2. switch 4.
  • 11. 36. case switch ? 1. break 3. while 2. { } 4. include 37. 6 ? 1. if 3. do.....while 2. default 4. 38. switch ? 1. break 3. default 2. else 4. case 39. ? 1. case '1' : 3. case num + 7 2. if (ch== 'Y' +1) 4. 40. if ? 1. if (sale >=100000 <= 500000) Commission 0.025 2. if (sale >=100,000 and sales 500,000) Commission 2.5% 3. if (sale >=200000 && sales 500000) Commission 0.050 4. if (sale between 100000 to 500000) Commission 0.025