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

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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

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

.

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

Attachments:

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

 

Note:-

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.
Instructions:
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

Attachments:

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


<?php
/* Declare Variables*/

$Name="Put you data";
$SO="------";
$id="bc150---";
$address="put your address";
$degree="BS Software";
$cgpa=3.5;
/* 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>";

echo"<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 

Attachments:

CS310 Solution 

Attachments:

<‘.7php
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 :

world/spnn>hx>");

echo str_replace("wnrld", "Mu],t,au", "City : wnrId/
span>lu:>");

echo str_replace("world", "BSC", "Degree : worldl
span>br>");

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

span>hx>");
?>

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.

sherwani05@gmail.com

Assignment Completed

Attachments:

RSS

Latest Activity

+++STUDENT+++ liked BIA's discussion if u r grateful, I will give u more.
1 minute ago
20 October posted a status
"جس کو بھی چاہا اسے شدت سے چاہا ہے سلمان سلسلہ ٹوٹا نہیں ہے درد کی زنجیر کا"
3 minutes ago
BIA posted a status
"!!.. Worldly Life is very Short, so return to Allah before you Return To Allah....!!"
4 minutes ago
20 October posted a status
"عشق میں سر پھوڑنا بھی کیا کہ یہ بے مہر لوگ جوئے خوں کو نام دے دیتے ہیں جوئے شیر کا"
5 minutes ago
20 October posted a status
"جانے کس عالم میں تو بچھڑا کہ ہے تیرے بغیر آج تک ہر نقش فریادی مری تحریر کا"
5 minutes ago
20 October posted a status
"جس طرح بادل کا سایہ پیاس بھڑکاتا رہے میں نے یہ عالم بھی دیکھا ہے تری تصویر کا"
5 minutes ago
20 October posted a status
"کیسے پایا تھا تجھے پھر کس طرح کھویا تجھے مجھ سا منکر بھی تو قائل ہو گیا تقدیر کا"
6 minutes ago
20 October posted a status
"منتظر کب سے تحیر ہے تری تقریر کا بات کر تجھ پر گماں ہونے لگا تصویر کا"
6 minutes ago
20 October posted a status
"رات کیا سوئے کہ باقی عمر کی نیند اڑ گئی خواب کیا دیکھا کہ دھڑکا لگ گیا تعبیر کا"
6 minutes ago
BIA posted a status
"!!...Allah Will Not Change The Condition Of a People Until They Change What is in Themselves...!!"
7 minutes ago
20 October posted discussions
7 minutes ago
BIA liked BIA's blog post Totay Bhe Jo Tara Toh Zamee p Nahi Girta.....
9 minutes ago
BIA liked BIA's blog post Or Tera Raab Bholny wala NAhi. . . .
9 minutes ago
BIA liked BIA's blog post Mera Yaqeen HAi. . .. .
9 minutes ago
BIA liked BIA's blog post Rat Ki Tanhai Main....
10 minutes ago
BIA posted discussions
11 minutes ago
+ M.Tariq Malik left a comment for Rao !
12 minutes ago
+ M.Tariq Malik liked 20 October's discussion poetry
19 minutes ago
+ M.Tariq Malik liked BIA's discussion Quran 65:2-3
19 minutes ago
+ M.Tariq Malik liked BIA's discussion QURAN, 65:2-3
19 minutes ago

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

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