SlideShare a Scribd company logo
1 of 7
CÂU TRẢ LỜI MÀU ĐỎ CÓ KHẢ NĂNG PHẦN LỚN
LÀ ĐÚNG. HY VỌNG LÀ ĐÚNG HẾT THẬT^^

1


    The relational operators > >= < <= have the same precedence.
    False
    True
2
                           The Repeat?Until loop exits when the condition
                           evaluates to _________.


                            False
                            True
3


    We cannot use nested if statements in a Pseudocode.
    False
    True
4
                   In C, ' = =' and ' = ' both mean the same.


                    No. In C, '= =' is used as the operator to check the equality of
                    two variables and '=' for assigning values to variables only
                    No. In C, '= =' is used as a comparison operator & '=' as the
                    operator to check the equality of two variables
                    No. In C, '= =' is used as the equality operator & '=' as the
                    comparison operator
5
    Is the following a valid pseudocode?

    BEGIN
    INPUT P1,P2,P3
    ADD=P1 + P2 +P3
    PER=ADD / 5
    IF PER >= 60
    DISPLAY "FIRST CLASS"
    ELSE IF PER >= 50
    DISPLAY "SECOND CLASS"
    ELSE IF PER >= 40
    DISPLAY "PASS CLASS"
    ELSE
    DISPLAY "FAIL"

    Can't say
    No
    Yes
6
    What will be the output?




    BEGIN
    i=1
    WHILE ( i < = 5)
    DO
    DISPLAY "A"
    END DO
    END

    1. A
       A
       A
       A
       A

    2. A
       A
       A
       A

    3. A A A A

    4. A A A A A



    1
    2
    3
    4

7
           ___________ variables are must in the FOR loop.


           control
           counter
           end
           start
8
                      To calculate the square of a specified number, which
                      library should we include in our code?


                       conio.h
                       None of the above
                       stdlib.h
                       string.h
9
     In Pseudocode, to accept values from the user which terms are used?


      Enter
      Input
      Read
      Write
10
     Which among these are not binary
     operators?


     Decrement operator
     Increment operator
     MOD
     Multiplication
11
     Which of the following is/are the tool/s for debugging?


     Break point
     Check point
     Error Tracing
     Simulator
     Trace routines
12
                               The keyword/s used to take user input in a
                               Pseudocode is/are


                                  Accept
                                  Input
                                  Prompt
                                  Read
                                  Take
13
     The Logical operators are:


     And
     False
     Not
     Or
     True
14
                  Identify the methods used for debugging.


                   Dry Run
                   Independent Inspection
                   Structured walk through
                   Testing
                   Tracing
15
     Which of the following are the delimiters used in programming languages?


      ()
      <     >
      []
      {}
      Tracing
16
     Which of the following will generate a
     Logical error?


     avg=a+b c (c=0)
     IF (A<     >0 AND A<    >1) Then??.
     Infinite loop
     Read Abc.doc (abc.doc does not exist)
     Tracing
17
     Which of the following statements are true?


      The # symbol may not be used as the first character of a variable
      The $ symbol may not be used as the first character of a variable
      The % is used to calculate a percentage thus: 10 % 20=50
      The / operator is used to divide one value by another
18


     A flowchart can have more than one START &
     one STOP.
      False
     True
19


     When the loop encounters a break statement, it immediately exits the program.
     False
     True
20


     The subprogram in a pseudocode can be further divided into smaller programs.
     False
     True
21


      Address of a floating-point variable is always a whole number.
      False
      True
22


     Validation of a program code can be termed as
     testing.
      False
     True

More Related Content

What's hot

2.overview of c#
2.overview of c#2.overview of c#
2.overview of c#
Raghu nath
 
Fundamentals of prog. by rubferd medina
Fundamentals of prog. by rubferd medinaFundamentals of prog. by rubferd medina
Fundamentals of prog. by rubferd medina
rurumedina
 

What's hot (20)

Logical Expressions in C/C++. Mistakes Made by Professionals
Logical Expressions in C/C++. Mistakes Made by ProfessionalsLogical Expressions in C/C++. Mistakes Made by Professionals
Logical Expressions in C/C++. Mistakes Made by Professionals
 
2.overview of c#
2.overview of c#2.overview of c#
2.overview of c#
 
FLOW OF CONTROL-INTRO PYTHON
FLOW OF CONTROL-INTRO PYTHONFLOW OF CONTROL-INTRO PYTHON
FLOW OF CONTROL-INTRO PYTHON
 
C language assignment help
C language assignment helpC language assignment help
C language assignment help
 
Control Structures: Part 1
Control Structures: Part 1Control Structures: Part 1
Control Structures: Part 1
 
Programming basics
Programming basicsProgramming basics
Programming basics
 
Fundamentals of prog. by rubferd medina
Fundamentals of prog. by rubferd medinaFundamentals of prog. by rubferd medina
Fundamentals of prog. by rubferd medina
 
Control structures in C++ Programming Language
Control structures in C++ Programming LanguageControl structures in C++ Programming Language
Control structures in C++ Programming Language
 
Logical and Conditional Operator In C language
Logical and Conditional Operator In C languageLogical and Conditional Operator In C language
Logical and Conditional Operator In C language
 
Spf Chapter5 Conditional Logics
Spf Chapter5 Conditional LogicsSpf Chapter5 Conditional Logics
Spf Chapter5 Conditional Logics
 
6 programming-using-java decision-making20102011-
6 programming-using-java decision-making20102011-6 programming-using-java decision-making20102011-
6 programming-using-java decision-making20102011-
 
Control Structures in Python
Control Structures in PythonControl Structures in Python
Control Structures in Python
 
Microcontroller lec 3
Microcontroller  lec 3Microcontroller  lec 3
Microcontroller lec 3
 
Loops and conditional statements
Loops and conditional statementsLoops and conditional statements
Loops and conditional statements
 
6 operators-in-c
6 operators-in-c6 operators-in-c
6 operators-in-c
 
Conditionalstatement
ConditionalstatementConditionalstatement
Conditionalstatement
 
C language UPTU Unit3 Slides
C language UPTU Unit3 SlidesC language UPTU Unit3 Slides
C language UPTU Unit3 Slides
 
Storage classes in c language
Storage classes in c languageStorage classes in c language
Storage classes in c language
 
C++ decision making
C++ decision makingC++ decision making
C++ decision making
 
Ch6 Loops
Ch6 LoopsCh6 Loops
Ch6 Loops
 

Viewers also liked

Tech Class Slideshow
Tech Class SlideshowTech Class Slideshow
Tech Class Slideshow
ninagusta
 
De so 2
De so 2De so 2
De so 2
kiennt
 
When I lived in USA
When I lived in USAWhen I lived in USA
When I lived in USA
GabyC21
 

Viewers also liked (18)

Tech Class Slideshow
Tech Class SlideshowTech Class Slideshow
Tech Class Slideshow
 
De so 2
De so 2De so 2
De so 2
 
When I lived in USA
When I lived in USAWhen I lived in USA
When I lived in USA
 
Al Ghoyah Wat Taqrib #2
Al Ghoyah Wat Taqrib #2Al Ghoyah Wat Taqrib #2
Al Ghoyah Wat Taqrib #2
 
Al Ghoyah Wat Taqrib #1
Al Ghoyah Wat Taqrib #1Al Ghoyah Wat Taqrib #1
Al Ghoyah Wat Taqrib #1
 
WISP France
WISP FranceWISP France
WISP France
 
USA TODAY best practices, translated into Russian
USA TODAY best practices, translated into RussianUSA TODAY best practices, translated into Russian
USA TODAY best practices, translated into Russian
 
USA TODAY best practices
USA TODAY best practicesUSA TODAY best practices
USA TODAY best practices
 
Hland
HlandHland
Hland
 
Islam di Ambon
Islam di AmbonIslam di Ambon
Islam di Ambon
 
Al Ghoyah Wat Taqrib #3
Al Ghoyah Wat Taqrib #3Al Ghoyah Wat Taqrib #3
Al Ghoyah Wat Taqrib #3
 
Jayne's Individual Presentation
Jayne's Individual Presentation Jayne's Individual Presentation
Jayne's Individual Presentation
 
Pilonidal sinus defect closure, reconstruction methods
Pilonidal sinus defect closure, reconstruction methodsPilonidal sinus defect closure, reconstruction methods
Pilonidal sinus defect closure, reconstruction methods
 
Challenges Of Project Management
Challenges Of Project ManagementChallenges Of Project Management
Challenges Of Project Management
 
GöKçE Slayt
GöKçE SlaytGöKçE Slayt
GöKçE Slayt
 
Conjunto Residencial Salamar1
Conjunto Residencial Salamar1Conjunto Residencial Salamar1
Conjunto Residencial Salamar1
 
桂林98
桂林98桂林98
桂林98
 
GöKçE Slayt
GöKçE SlaytGöKçE Slayt
GöKçE Slayt
 

Similar to De so 1

10-Lec - Nested IF Statement.pptx
10-Lec - Nested IF Statement.pptx10-Lec - Nested IF Statement.pptx
10-Lec - Nested IF Statement.pptx
AqeelAbbas94
 
Fundamentals of Programming Lecture #1.pptx
Fundamentals of Programming Lecture #1.pptxFundamentals of Programming Lecture #1.pptx
Fundamentals of Programming Lecture #1.pptx
Eyasu46
 
introduction to python in english presentation file
introduction to python in english presentation fileintroduction to python in english presentation file
introduction to python in english presentation file
RujanTimsina1
 

Similar to De so 1 (20)

C programming session3
C programming  session3C programming  session3
C programming session3
 
C programming session3
C programming  session3C programming  session3
C programming session3
 
Control structure of c
Control structure of cControl structure of c
Control structure of c
 
Decision control
Decision controlDecision control
Decision control
 
C sharp chap3
C sharp chap3C sharp chap3
C sharp chap3
 
Java unit 3
Java unit 3Java unit 3
Java unit 3
 
Control statements in c
Control statements in cControl statements in c
Control statements in c
 
operators and control statements in c language
operators and control statements in c languageoperators and control statements in c language
operators and control statements in c language
 
cprogrammingoperator.ppt
cprogrammingoperator.pptcprogrammingoperator.ppt
cprogrammingoperator.ppt
 
Operators and Expressions in C#
Operators and Expressions in C#Operators and Expressions in C#
Operators and Expressions in C#
 
10-Lec - Nested IF Statement.pptx
10-Lec - Nested IF Statement.pptx10-Lec - Nested IF Statement.pptx
10-Lec - Nested IF Statement.pptx
 
Python Control structures
Python Control structuresPython Control structures
Python Control structures
 
C operator and expression
C operator and expressionC operator and expression
C operator and expression
 
CIS 1403 lab 4 selection
CIS 1403 lab 4 selectionCIS 1403 lab 4 selection
CIS 1403 lab 4 selection
 
Fundamentals of Programming Lecture #1.pptx
Fundamentals of Programming Lecture #1.pptxFundamentals of Programming Lecture #1.pptx
Fundamentals of Programming Lecture #1.pptx
 
Elements of programming
Elements of programmingElements of programming
Elements of programming
 
Chapter 3 branching v4
Chapter 3 branching v4Chapter 3 branching v4
Chapter 3 branching v4
 
Pseudocode
PseudocodePseudocode
Pseudocode
 
Functional Programming in C#
Functional Programming in C#Functional Programming in C#
Functional Programming in C#
 
introduction to python in english presentation file
introduction to python in english presentation fileintroduction to python in english presentation file
introduction to python in english presentation file
 

Recently uploaded

An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Recently uploaded (20)

An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

De so 1

  • 1. CÂU TRẢ LỜI MÀU ĐỎ CÓ KHẢ NĂNG PHẦN LỚN LÀ ĐÚNG. HY VỌNG LÀ ĐÚNG HẾT THẬT^^ 1 The relational operators > >= < <= have the same precedence. False True 2 The Repeat?Until loop exits when the condition evaluates to _________. False True 3 We cannot use nested if statements in a Pseudocode. False True 4 In C, ' = =' and ' = ' both mean the same. No. In C, '= =' is used as the operator to check the equality of two variables and '=' for assigning values to variables only No. In C, '= =' is used as a comparison operator & '=' as the operator to check the equality of two variables No. In C, '= =' is used as the equality operator & '=' as the comparison operator
  • 2. 5 Is the following a valid pseudocode? BEGIN INPUT P1,P2,P3 ADD=P1 + P2 +P3 PER=ADD / 5 IF PER >= 60 DISPLAY "FIRST CLASS" ELSE IF PER >= 50 DISPLAY "SECOND CLASS" ELSE IF PER >= 40 DISPLAY "PASS CLASS" ELSE DISPLAY "FAIL" Can't say No Yes
  • 3. 6 What will be the output? BEGIN i=1 WHILE ( i < = 5) DO DISPLAY "A" END DO END 1. A A A A A 2. A A A A 3. A A A A 4. A A A A A 1 2 3 4 7 ___________ variables are must in the FOR loop. control counter end start
  • 4. 8 To calculate the square of a specified number, which library should we include in our code? conio.h None of the above stdlib.h string.h 9 In Pseudocode, to accept values from the user which terms are used? Enter Input Read Write 10 Which among these are not binary operators? Decrement operator Increment operator MOD Multiplication 11 Which of the following is/are the tool/s for debugging? Break point Check point Error Tracing Simulator Trace routines
  • 5. 12 The keyword/s used to take user input in a Pseudocode is/are Accept Input Prompt Read Take 13 The Logical operators are: And False Not Or True 14 Identify the methods used for debugging. Dry Run Independent Inspection Structured walk through Testing Tracing
  • 6. 15 Which of the following are the delimiters used in programming languages? () < > [] {} Tracing 16 Which of the following will generate a Logical error? avg=a+b c (c=0) IF (A< >0 AND A< >1) Then??. Infinite loop Read Abc.doc (abc.doc does not exist) Tracing 17 Which of the following statements are true? The # symbol may not be used as the first character of a variable The $ symbol may not be used as the first character of a variable The % is used to calculate a percentage thus: 10 % 20=50 The / operator is used to divide one value by another 18 A flowchart can have more than one START & one STOP. False True
  • 7. 19 When the loop encounters a break statement, it immediately exits the program. False True 20 The subprogram in a pseudocode can be further divided into smaller programs. False True 21 Address of a floating-point variable is always a whole number. False True 22 Validation of a program code can be termed as testing. False True