The code below is used to check on the valid human using the above system, construct a control flow graph that can be used to check for all independent paths. (in the next page)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

The code below is used to check on the valid human using the above system, construct a control flow graph that can be used to check for all independent paths. (in the next page)

You are the Software Quality Assurance (SQA) Leader for a software development project
named Canteen Automated System.
Below is the description and requirement for the Smart Question Paper Generating System.
Canteen Automation System enables the end users to register online, read and select the food from e-
menu card and order food online by just selecting the food that the user want to have using android
application. The results after selecting the food from the E-menu card will directly appear in the
screen near the Chef who is going to cook the food for you. The system is the combination of Android
as well as Web Application. By using this application, the work of the waiter is reduced and we can
also say that the work is nullified. The benefit of this is that if there is rush in the Canteen then there
will be chances that the waiters will be unavailable and the users can directly order the food to the
chef online by using this application. The user will have a username and a password, by using which
they can login into the system. This implies that the customer is the regular user of the Canteen.
Transcribed Image Text:You are the Software Quality Assurance (SQA) Leader for a software development project named Canteen Automated System. Below is the description and requirement for the Smart Question Paper Generating System. Canteen Automation System enables the end users to register online, read and select the food from e- menu card and order food online by just selecting the food that the user want to have using android application. The results after selecting the food from the E-menu card will directly appear in the screen near the Chef who is going to cook the food for you. The system is the combination of Android as well as Web Application. By using this application, the work of the waiter is reduced and we can also say that the work is nullified. The benefit of this is that if there is rush in the Canteen then there will be chances that the waiters will be unavailable and the users can directly order the food to the chef online by using this application. The user will have a username and a password, by using which they can login into the system. This implies that the customer is the regular user of the Canteen.
#include<iostream>
#include<string.h>
using namespace std;
int main()
{
char robotChk[10];
int val;
cout<<"Are You a Robot ? ";
cin>>robotChk;
val = strcmp("yes", robotChk);
if(val==0)
cout<<"\nYou can't Proceed!";
else
cout<<"\nYou're Welcome!";
cout<<endl;
return 0;
}
Transcribed Image Text:#include<iostream> #include<string.h> using namespace std; int main() { char robotChk[10]; int val; cout<<"Are You a Robot ? "; cin>>robotChk; val = strcmp("yes", robotChk); if(val==0) cout<<"\nYou can't Proceed!"; else cout<<"\nYou're Welcome!"; cout<<endl; return 0; }
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Algebraic Expression
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education