CS310 Assignment No 1 Solution Fall 2017:
Dear Students, Here You can read and Download CS310 Assignment no 1 Solution and discussion fall 2017.
Assignment Total Marks: 20.
You Can Also Download Solved Mid Term Papers, Short Notes, Assignment Solutions, Lecture Wise Questions Answers Files, Solved MCQs, Solved Quiz, Solved Mid Term Subjective Papers, Solved Mid Term Objective Papers, Solved Final Term Objective Papers, Solved Final Term Subjective Papers from VU Ki Duniya for Preparation of Mid Term Papers.



CS310 Complete Assignment No 1 Solution Fall 2017:


Assignment No. 01
Semester: Fall 2017
CS310: Open Source Web Application Development
Total Marks: 20
Due Date:
November 09, 2017
Instructions:

Please read the following instructions carefully before submitting assignment. It should be clear that your assignment will not get any credit if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • Assignment is copied (partial or full) from any source (websites, forums, students, etc.)


Note: 

You have to upload only .doc or .docx file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks.

Objective:

The objective of this assignment is to provide hands on experience of:
For any query about the assignment, contact at CS310@vu.edu.pk

Problem Statement:

Write a PHP program that will print your profile and then use string functions to manipulate strings in your profile.

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

You may Also Like:



Download Complete Solution:

Download CS310 Assignment Solution by Clicking the Download Button Below in just single Click.


Assignment

Post a Comment

 
Top