We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ 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.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 552


+ 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)


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



Latest Activity

+Mr President updated their profile
20 minutes ago
A_Q added a discussion to the group ENG513 Language Teaching Methods
39 minutes ago
ALEENA replied to + M.Tariq Malik's discussion Site Overview | Assignment Solutions | Past Papers Solutions | VU Students Features
40 minutes ago
+ !! "AS" !! replied to + !! "AS" !!'s discussion Ghalti...
42 minutes ago
Profile IconALI RAZA, Husnain Kan, Safdar Mehmood and 25 more joined Virtual University of Pakistan
45 minutes ago
ALEENA liked + Iuuoɔǝut +'s discussion MTH401_Mid term Solved (Part I) with refrence
47 minutes ago
Shine--Ex-VUStudent liked + !! "AS" !!'s discussion Yaha Har Cheez ..
48 minutes ago
Shine--Ex-VUStudent liked +¢αяєℓєѕѕ gιяℓ's discussion Iss tasvir ko Unwan Dein :-P
51 minutes ago
ALEENA replied to ٥ دن's discussion Gunahon ki gehrai
51 minutes ago
ALEENA replied to + !! "AS" !!'s discussion Ghalti...
53 minutes ago
ALEENA replied to Siddiq khan kakar's discussion RIP
56 minutes ago
Muhammad Hamza Mehmood liked Faiza's profile
57 minutes ago
Profile IconKhan and zuha shah joined + M.Tariq Malik's group
58 minutes ago
Khan joined + M.Tariq Malik's group
58 minutes ago
Profile IconKhan and sardarni joined + M.Tariq Malik's group
1 hour ago
ALEENA replied to +¢αяєℓєѕѕ gιяℓ's discussion Iss tasvir ko Unwan Dein :-P
1 hour ago
zuha shah joined + M.Tariq Malik's group
1 hour ago
zuha shah liked + M.Tariq Malik's group PSY401 Clinical Psychology
1 hour ago
zuha shah liked + M.Tariq Malik's group MGT111 Introduction to Public Administration
1 hour ago
Ali joined + M.Tariq Malik's group
1 hour ago

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

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