We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ 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.
CS508 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 12-11-2019
Tags:
+ 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?.
+ 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)Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.
P.S: Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”
Then copy Questions from assignment file and paste in Discussion.
+ http://bit.ly/vucodes (For Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (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)
CS508 Modern Programming Languages Assignment 1 Solution Fall 2019
Problem:
In this assignment we will evaluate 3 different languages on the basis of CPU time and Memory used for compilation.
3 languages we will be using are:
We will use nested loop which will execute finite number of times. For the sake of consistency, we will be using an online compiler of each language from the same website.
First you need to calculate the number of time both loops will run, for that we will use student id.
From the last 4 numbers of student id, first two characters will be number of times the outer loop will execute and last two characters will be number of times the inner loop will execute.
So, for example if student id is BC180201429 then 14, 29
The outer loop will execute 14 times and inner loop will execute 29 times.
Use the following compiler https://www.jdoodle.com/.
1. Note down the CPU Time and memory Used for all the languages and fill the following table with CPU time memory and write the code for all 3 languages also take screen shots for each language and paste it in your solution file.
CS508_Assignment_01_Solution_Fall_2019_By_vuning
Link below to download the file
Java:
public class MyClass {
public static void main(String args[]) {
System.out.println("My Student ID is BC160401656");
System.out.println("My Language is JAVA");
}
}
C#:
using System;
class Program
{
static void Main() {
Console.Write("My Student is is BC160401656 \n");
Console.Write("My Language is C#");
}
}
C++:
#include <iostream> |
This is incomplete buddy there is no Nested loops
Visit here: Click me to understand the concept of Nested loops
CS508 Assignment No. 1 Complete & Correct Solution Fall 2019
Excellent job Bro!
CS508 1 ST Assignment idea solution..
https://drive.google.com/file/d/1fgY6Iyc-8sR2FlXUKxT6ypH0gTjjBzc0/view
one more solution
© 2019 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
VU Students reserves the right to delete profile, which does not show any Activity at site nor has not activity more than 01 month.
We are user-generated contents site. All product, videos, pictures & others contents on vustudents.ning.com don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com or Contact us at contact Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post