Showing posts with label Cs310. Show all posts
Showing posts with label Cs310. Show all posts

CS310 Assignment 3 Solution Fall 2019(2020)

Dear VU (Virtual University of Pakistan) Students, here you read and download CS310 Assignment No.3 Solution Fall2019(2020). (VU Ki Duniya) Provide single download link. Easy download step.  VU Ki Duniya Previously shared CS609 Assignment No.3 Solution fall – 2019(2020). For latest update you also like our Facebook page, YouTube channel. You may also like CS101 Finalterm Short Notes Lec 23 to 45.



Recommended:
  1. CS310 Assignment No.1 Solution fall 2017
  2. CS301 Miudterm Solved Paper
Download Solution File:


You can Also Download Midterm Solved Past Papers, Final term Solved past Papers, GDB Solutions, Assignment Solutions, and Solved Quizzes files, PPT Slides, Handouts and Short Notes.

CS310 Assignment No 1 Solution Fall 2017

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

Cs310 Mid term Solved Paper

Cs310 MCQS for midterm:

Dear Students, here you can read and Download CS310 Open Source Web Application Development (PHP, PERL, CGI, Mysql) MCQs for Mid Term Mega File for Preparation of Mid Term Examination. 

 Important MCQs For Cs310 Virtual Univeristy of Pakistan.

Also Download:

You Can Also Download Solved Mid Term Papers, Short NotesAssignment Solutions, Lecture Wise Questions Answers Files, Solved MCQs, Solved Quiz , Solved Mid Term Subjective Papers , Solved Mid Term Objective Papers From VU Ki Duniya For Preparation of Mid Term/Final Term Papers. 

CS310 MCQS FOR MIDTERM:

1. What does PHP stand for? 
  •   PHP: Hypertext Preprocessor 
  •   Private Home Page 
  •   Personal Hypertext Processor 
2. PHP server scripts are surrounded by delimiters, which? 
  •   <&>...</&> 
  •   <?php>...</?> 
  •   <script>...</script> 
  •   <?php...?> 
3. How do you write "Hello World" in PHP 
  •   Document.Write("Hello World"); 
  •   echo "Hello World"; 
  •   "Hello World"; 
4. All variables in PHP start with which symbol? 
  •   $ 
  •   & 
  •   ! 
5. What is the correct way to end a PHP statement? 
  •   New line 
  •   ; 
  •   . 
  •   </php> 
6. The PHP syntax is most similar to: 
  •   JavaScript 
  •   VBScript 
  •   Perl and C 
7. How do you get information from a form that is submitted using the "get" method? 
  •   Request.QueryString; 
  •   $_GET[]; 
  •   Request.Form; 
8. When using the POST method, variables are displayed in the URL: 
  •   True 
  •   False 
9. In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings: 
  •   True 
  •   False 
10. Include files must have the file extension ".inc" 
  •   True 
  •   False 
11. What is the correct way to include the file "time.inc" ? 
  •   <?php include "time.inc"; ?> 
  •   <!-- include file="time.inc" --> 
  •   <?php include file="time.inc"; ?> 
  •   <?php include:"time.inc"; ?> 
12. What is the correct way to create a function in PHP? 
  •   function myFunction() 
  •   create myFunction() 
  •   new_function myFunction() 
13. What is the correct way to open the file "time.txt" as readable? 
  •   open("time.txt"); 
  •   open("time.txt","read"); 
  •   fopen("time.txt","r"); 
  •   fopen("time.txt","r+"); 
14. PHP allows you to send emails directly from a script 
  •   False 
  •   True 
15. Which superglobal variable holds information about headers, paths, and script locations? 
  •   $_GLOBALS 
  •   $_GET 
  •   $_SERVER 
  •   $_SESSION 
16. What is the correct way to add 1 to the $count variable? 
  •   $count =+1 
  •   $count++; 
  •   ++count 
  •   count++; 
17. What is a correct way to add a comment in PHP? 
  •   <!--...--> 
  •   *\...\* 
  •   /*...*/ 
  •   <comment>...</comment> 
18. PHP can be run on Microsoft Windows IIS(Internet Information Server): 
  •   True 
  •   False 
19. The die() and exit() functions do the exact same thing. 
  •   True 
  •   False 
20. Which one of these variables has an illegal name? 
  •   $my_Var 
  •   $myVar 
  •   $my-Var 
21. The setcookie() function must appear BEFORE the <html> tag. 
  •   True 
  •   False 
22. In PHP, the only way to output text is with echo. 
  •   False 
  •   True 
23. How do you create an array in PHP? 
  •   $cars = "Volvo", "BMW", "Toyota"; 
  •   $cars = array["Volvo", "BMW", "Toyota"]; 
  •   $cars = array("Volvo", "BMW", "Toyota"); 
24. The if statement is used to execute some code only if a specified condition is true 
  •   True 
  •   False 
25. Which operator is used to check if two values are equal and of same data type? 
  •   == 
  •   === 
  •   = 
  •   != 
     You also read : Virtual University Exam Demo.
    If this tutorial was helpful. Please share with your friends. in case of any query or question you can ask us in comments below. Sharing is Caring.Thank you.