We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

CS608 Assignment No 02 Spring 2020 Solution & Discussion Due Date: 12-06-2020

    Software Verification and Validation (CS608)Assignment # 02 Total marks = 20                                                                               
Due Date:Jun 12, 2020    Please carefully read the following instructions before attempting assignment.
RULES FOR MARKINGIt should be clear that your assignment would not get any credit if:The assignment is submitted after the due date.The submitted assignment does not open or file is corrupt.Strict action will be taken if submitted solution is copied from any other student or from the internet. You should concern the recommended books to clarify your concepts as handouts are not sufficient.You are supposed to submit your assignment in .doc or docx format.Any other formats like scan images, PDF, zip, rar, ppt and bmp etc. will not be accepted. 
Topics Covered:Control flow graph    NOTENo assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.If you people find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.For any query, feel free to email at cs608@vu.edu.pk  

Question No. 1. (Marks 15)Draw the control flow graph for the following code.int main(){ int n=0; switch(n){ case 0: printf("Value is 0"); break, case 1: printf("Value is 1"); break; case 2: printf("Value is 2"); break; default: printf("Invalid value"); break; } int a,b,number; while(number==0){ number=number++; } return number; if(number>0){ if(a>70){ number=a/b; } else{ number=a*b; } } else{ if(a>70 && b<0){ number=a-b; } else{ number=b-a; } }}
Question No. 2. (Marks 5)Write complete path for the graph developed in question 1.
“The End”


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 780

Replies to This Discussion

CS608 Software Verification and Validation Assignment 2 Solution & Discussion Spring 2020


 

Software Verification and Validation (CS608)

Assignment # 02

Total marks = 20

Due Date: Jun 12, 2020

Please carefully read the following instructions before attempting assignment.

RULES FOR MARKING

It should be clear that your assignment would not get any credit if:

  • The assignment is submitted after the due date.
  • The submitted assignment does not open or file is corrupt.
  • Strict action will be taken if submitted solution is copied from any other student or from the internet.

You should concern the recommended books to clarify your concepts as handouts are not sufficient.

You are supposed to submit your assignment in .doc or docx format.

Any other formats like scan images, PDF, zip, rar, ppt and bmp etc. will not be accepted.

 

Topics Covered:

·       Control flow graph

NOTE

No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.

If you people find any mistake or confusion in assignment (Question statement), please consult with your instructor before the deadline. After the deadline no queries will be entertained in this regard.

For any query, feel free to email at cs608@vu.edu.pk

 

 

Question No. 1.                                                   (Marks 15)

Draw the control flow graph for the following code.

int main(){

int n=0;

switch(n){

case 0:

printf("Value is 0");

break,

case 1:

printf("Value is 1");

break;

case 2:

printf("Value is 2");

break;

default:

printf("Invalid value");

break;

}

int a,b,number;

while(number==0){

number=number++;

}

return number;

if(number>0){

if(a>70){

number=a/b;

}

else{

number=a*b;

}

}

else{

if(a>70 && b<0){

number=a-b;

}

else{

number=b-a;

}

}

}

 

Question No. 2.                     (Marks 5)

Write complete path for the graph developed in question 1.

Solution file send  karen

Bhai saab kisi k pass solution ha to send please 

CS608.docx1st question ka answer ha or file ma id or file ka name b change kar lana

RSS

Looking For Something? Search Here

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.