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.


+ Link For Assignments, GDBs & Online Quizzes Solution


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

+ 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: 610


Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.


Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 


P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

Problem Statement:
Write a PHP program that will print your profile and then use string functions to manipulate strings in your profile.
Your profile will contain following attributes:
Complete Name (String)
Father’s Name (String)
VUID (String)
Permanent Address (String)
Degree Program (String)
Current CGPA (Float)

Declare variables for above items. Data types are mentioned in brackets. All attributes are self-explanatory.
After declaring variables and initializing them with your own data, print them using echo/print statement. (The output should be like: My name is Umair Mujahid etc.) Use variables in echo/print statement to show them on the screen.
After printing all the attributes, use following string functions:
Calculate and print length of your name using strlen() function
Calculate total word count in permanent address variable using srt_word_count() function
Reverse and print your VUID by using strrev() function

After successfully running your program, take the screenshot of the output and paste it in your solution file.
Your solution file will be a single Word file (.doc or .docx) containing two things:
Complete code written in Word
Output screenshot

You can use Consolas font for enhancing readability of the code in Word file.

Assignment Deadline:

CS310 1st Assignment Solution


Assignment Cs310
Thanks To Haider ali Uppal
Try your best any ask about any mistake…..
Name ……………………
Student ID BC150……

/* Declare Variables*/

$Name="Put you data";
$address="put your address";
$degree="BS Software";
/* OutPut */
echo "My Name is ".$Name."<br>";
echo "Father Name: ".$SO."<br>";
echo "Student ID: ".$id."<br>";
echo "Permanent Address:".$address."<br>";
echo "<b>Degree Program: </b>".$degree."<br>";
echo "<b>Current CGPA: </b>".$cgpa."<br>";

/* OutPut */
echo "Name length:". strlen($Name)."<br>";
echo "Words Counter in Address:". str_word_count($address)."<br>";
echo "Reverse Student ID:". strrev($id)."<br>";

Output ScreenShot.

Plzzz tell me ye program kha run karna hai.

Kon sa software use hona hai.

CS310 Assignment#01 Solution 


CS310 Solution 


echo str_replace("wnrld", "uwm.j", "My Name :
Smhzad world/span>hx>"):

echo str_replace("wnrld", "J,1s,u|ani", "My Father Name :

Ismail world /span>l1x>");

echo str_replace("wnrld", "BC150404150", "My VU ID :


echo str_replace("wnrld", "Mu],t,au", "City : wnrId/

echo str_replace("world", "BSC", "Degree : worldl

echo str_replace("wnrld", "335", "CGPA : wnrldl


ap kehna kia chahti ho mujhay to ye samajh nae aa raha. Please wazeh Question krte hen takeh kisi ko bhi jawab dene men masla na ho. jab apka ka question hi wazeh nae ho ga to koi kesay jawab de ga?

contact me on facebook.


Assignment Completed



Looking For Something? Search Here

Latest Activity

abdullah mehar posted discussions
7 minutes ago
abdullah mehar updated their profile
12 minutes ago
Profile Icon+ ! Agha RoShaaan Khan+ gave a gift to иαвєєℓ αнмє∂
15 minutes ago
abdullah mehar joined +M.Tariq Malik's group
2 hours ago
BSCS replied to kiran shahzadi's discussion Vu Books For sale
2 hours ago
abdullah mehar joined +M.Tariq Malik's group
2 hours ago
Amir is now a member of Virtual University of Pakistan
2 hours ago
abdullah mehar and Hajjvery BS IT are now friends
2 hours ago

Today Top Members 


This is a member-supported website. Your contribution is greatly appreciated!

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

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