Skip to content
  • 0 Votes
    3 Posts
    875 Views
    zareenZ
    Solution Idea Code <html> <head> <title>CS202 Assignment no 2</title> <style> body{ padding:0; margin:0; width:100%; } #mynav{ background-color:black; height:80px; } #mynav a:link, a:visited { background-color: red; color: white; padding: 14px 25px; text-align: center; text-decoration: none; display: inline-block; } #mynav a:hover, a:active { background-color: black; } #firstimage img{ width:100%; height:600px; fill:cover; margin: 0px auto; } #serviceheading{ padding-top:10px; padding-bottom:10px; } #serviceheading h2{ text-align:center; } .servicesection{ width:32%; float:left; padding-left:5px; margin-bottom:5px; } .servicesection img{ width:15%; height:100px; padding-left:80px; margin:2px; } .servicesection h2{ margin: 5px 20px; } #banner1{ background-color:#21E6E0; } #banner2{ background-color:#F91912; } #banner3{ background-color:#58F912; } #myfooter{ width:99%; margin-top:5px; background-color:black; float:left; padding-bottom:100px; } #footer1{ width:41%; margin-left:5px; float:left; } #footer1 h3{ color:Red; padding-left:150px; } #footer1 p{ color:white; } #footer2{ width:41%; margin-left:90px; float:left; } #footer2 h4{ color:green; font-size:25px; } #btn{ background-color:#F91912; } #btn:hover{ background-color:green; } </style> </head> <body> <form action=""> <div id="mynav"> <a href="Home.html">Home</a> <a href="service.html">Service</a> <a href="about.html">About</a> <a href="contactus.html">Contact us</a> </div> <div id="firstimage"> <img src="banner.jpg" alt="Banner Image"> </div> <div id="serviceheading"> <h2>Service</h2> <div class="servicesection" id="banner1"> <img src="camera.PNG" alt="Banner Image"> <h2>Photgraphy</h2> <p> orem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. </p> </div> <div class="servicesection" id="banner2"> <img src="video.PNG" alt="Banner Image"> <h2>VideoGraphy</h2> <p> orem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. </p> </div> <div class="servicesection" id="banner3"> <img src="web.PNG" alt="Banner Image"> <h2>Web Design</h2> <p> orem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. </p> </div> <div id="myfooter"> <div id="footer1"> <h3>About Us</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop </p> </div> <div id= "footer2"> <h4>Contact Us</h4><br> <input type="text" placeholder="name"><br><br> <input type="text" placeholder="Email Addres"><br><br> <textarea rows="4" cols="50"> </textarea><br><br> <button id="btn"> Press Me</button> </div> </div> </form> </body> </html> cs202 assignment solution with internal css in head section.html Displaying cs202 assignment solution with internal css in head section.html.
  • 0 Votes
    8 Posts
    7k Views
    cyberianC
    modules:composer.user_said_in, @cyberian, CS201 Assignment 1 Solution and Discussion Write a C++ program that performs the following tasks: 1-Print your name and VU id. 2-Add last 3 digit of your VU id. 3-Display the result of sum on screen. 4-Use if-else statement :: a) If sum is odd then print your name using while loop. Number of iterations of while loop should be equal to the sum. b) If sum is even then print your VU id using while loop. Number of iterations of while loop should be equal to the sum. [use remainder operator on sum value to determine the odd and even value for if condition] For example, suppose the student id is BC123456781. Then by adding last 3 digits of vu id, we get 16 which is an even number. In this case, program should print your VU ID for 16 times using while loop. // C201 Assignment No: 1 Fall2021 #include <iostream> #include <string> using namespace std; void printnameid(string studentid, string studentname); int calculatelastthreedigits(string studentid); int main() { string studentid="bc123456789"; string studentname="ZAHID"; printnameid(studentid,studentname); int TotalLastThreeDigits=calculatelastthreedigits(studentid); int counter=1; int a,b,c; a=6; b=4; c=0; cout<<"Sum of Last Three Numbers ="<<a+b+c; cout<<"\n\n"; if ( TotalLastThreeDigits % 2 == 0) // Divide by 2 and see if the reminder is zero? then it is even otherwise it is odd number { cout << "the sum is an even value: \n\n"; cout<<"++++++++++++++++++++++++++++++++++++++++++++ \n\n"; while(counter <= TotalLastThreeDigits) { cout << " Iteration: " << counter << "\n"; cout << "My student id is:" << studentid << "\n"; counter++; } } else { cout << "the sum is an odd value: \n\n"; while(counter <= TotalLastThreeDigits) { cout << " Iteration: " << counter << "\n"; cout << "My name is " << studentname << "\n"; counter++; } } return 0; } void printnameid(string studentid, string studentname){ cout<<"My name is " << studentname << "\n\n\n"; cout<<"My student id is:" << studentid << "\n\n\n"; } int calculatelastthreedigits(string studentid) { int end=studentid.length(); // Ending point that is total length of string int start=end-3; // Starting point string lastthreedigits=studentid.substr(start,end); // Trim the last three digits; int total=0; //Calculate the sum of last three digits for ( int index=0; index < lastthreedigits.length(); index++) { total += lastthreedigits[index] - '0'; } return total; // return the total to calling statement. }
  • 0 Votes
    1 Posts
    487 Views
    No one has replied
  • 0 Votes
    1 Posts
    379 Views
    No one has replied
  • 0 Votes
    4 Posts
    1k Views
    zareenZ
    Main Code File string stringToSearch = TextBox1.Text; string[] lines = File.ReadAllLines(@"H:/james.txt"); foreach (string line in lines) { if (line.IndexOf(stringToSearch) >= 0) { Label1.Content = line; break; } else { Label1.Content = "VU ID Not Found"; } } XAML File <Window x:Class="CS411_Assign.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"> <Grid> <TextBox x:Name="TextBox1" HorizontalAlignment="Left" Height="23" Margin="165,87,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="237"/> <Button Content="Search" HorizontalAlignment="Left" Margin="165,153,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click_1"/> <Label x:Name="Label1" Content="Data" HorizontalAlignment="Left" Margin="165,206,0,0" VerticalAlignment="Top" Width="222"/> <Label Content="Vu-Student Id" HorizontalAlignment="Left" Margin="10,87,0,0" VerticalAlignment="Top"/> </Grid> </Window>
  • 0 Votes
    1 Posts
    534 Views
    No one has replied
  • 0 Votes
    12 Posts
    9k Views
    zareenZ
    LISP was basically developed to solve ________ problems. Page:75 LISP was one of the earliest programming language. It was designed at MIT for artificial intelligence and it has since been the defacto standard language for the AI community, especially in the US. [image: YqqcYKG.png] For immediate value assignment ______ sign is used. Page 37 The $ is used for immediate value assignment even if the entire pattern does not match. It is used as follows: [image: gKNPMuJ.png] Following statement returns the union of the two list in LISP. Page : 68 [image: K6o3kdx.png] Block statement in Ada is very similar to a block in _______. Page:56 [image: 4Cbvxg8.png] _____________ was considered good for describing algorithms. Page:24 [image: TimQMFg.png] The declarative language among the following is CS508 C Page:77 [image: SIkM5O2.png] In Ada programming language Tagged types are used for _____ Page:59 [image: k1utbxn.png] _____ are a type of Aliasing. [image: 6kgY8ip.png] How many element(s) are there in LISP list (a (b c))? CS508 1 Page:63 [image: NxpDf0O.png] In __________, Enumeration type can also be used as indexes in arrays. Page:51 [image: Sb8NMfp.png]
  • 0 Votes
    4 Posts
    921 Views
    zaasmiZ
    CS507 2 SOLUTION.docx
  • 0 Votes
    3 Posts
    968 Views
    zaasmiZ
    https://youtu.be/9SH5eM0914A https://youtu.be/9SH5eM0914A https://youtu.be/P_4x86p5dVI
  • 0 Votes
    4 Posts
    385 Views
    zareenZ
    @zareen CS610_Assignmnet_2_Solution_Fall_2019_Cyberian.pk.docx
  • 0 Votes
    2 Posts
    906 Views
    zareenZ
    Solution 100% start=0 evensum=0 oddsum=0 counteven=0 countodd=0 print("Enter the upper Limit:") upperLimit=input() print print("Even numbers are:") for num in range(start, upperLimit+1): if num%2==0: evensum=evensum+num counteven=counteven+1 print(num) print print("Sum of Even numbers:") print(evensum) print print("Total number of Even numbers within the range are:") print(counteven) print print("Odd numbers are:") for num1 in range(start, upperLimit+1): if num1%2!=0: oddsum=oddsum+num1; countodd=countodd+1 print(num1) print print("Sum of Odd numbers:") print(oddsum) print print("Total number of Odd numbers within the range are:") print(countodd)
  • 0 Votes
    2 Posts
    863 Views
    zareenZ
    Solution: class Product: Name = "NULL" Brand= "NULL" Price= 0 Quantity= 0 def __init__(self, na, br, pr, qty): print print "--------------------------------" print "Pametarized Constructor called:" print "--------------------------------" self.Name = na self.Brand = br self.Price = pr self.Quantity=qty def setName(self, n): self.Name = n def setBrand(self, b): self.Brand=b def setPrice(self, p): self.Price=p def setQuantity(self, q): self.Quantity=q def getName(self): return self.Name def getBrand(self): return self.Brand def getPrice(self): return self.Price def getQuantity(self): return self.Quantity P1= Product("Computer","DELL",48000,5) print print "Object values initialized through Constructor:" print print "Name: " , P1.getName() print "Brand: ", P1.getBrand() print "Price: ", P1.getPrice() print "Quantity: ", P1.getQuantity() P1.setName("Cloths") P1.setBrand("Bonanza") P1.setPrice(4500) P1.setQuantity(10) print print "-------------------------------------------------" print print "Object values assigend thorugh setter functions:" print print "Name: " , P1.getName() print "Brand: ", P1.getBrand() print "Price: ", P1.getPrice() print "Quantity: ", P1.getQuantity()
  • 0 Votes
    7 Posts
    2k Views
    zareenZ
    Idea Solution from book [image: kSPj4KH.png]
  • 0 Votes
    3 Posts
    918 Views
    zareenZ
    @zareen said in EDU302 Assignment 2 Solution and Discussion: What is meant by cognitive development? Describe four stages of Piaget’s theory of cognitive development in detail? (2+8) Q.2 Idea Solution Cognitive Development Definition Cognitive development is the study of childhood neurological and psychological development. Specifically, cognitive development is assessed based on the level of conception, perception, information processing, and language as an indicator of brain development. It is generally recognized that cognitive development progresses with age, as human awareness and understanding of the world increases from infancy to childhood, and then again into adolescence. The process of cognitive development was first described by Jean Piaget, in his Theory of Cognitive Development. Piaget’s four stages Piaget’s stages are age-specific and marked by important characteristics of thought processes. They also include goals children should achieve as they move through a given stage. Stage Age Characteristics Goal Sensorimotor Birth to 18–24 months old Motor activity without use of symbols. All things learned are based on experiences, or trial and error. Object permanence Preoperational 2 to 7 years old Development of language, memory, and imagination. Intelligence is both egocentric and intuitive. Symbolic thought Concrete operational 7 to 11 years old More logical and methodical manipulation of symbols. Less egocentric, and more aware of the outside world and events. Operational thought Formal operational Adolescence to adulthood Use of symbols to relate to abstract concepts. Able to make hypotheses and grasp abstract concepts and relationships. Abstract concepts Sensorimotor The sensorimotor stage covers children ages birth to 18–24 months old. Characteristics include motor activity without use of symbols. All things learned are based on experiences, or trial and error. The main goal at this stage is establishing an understanding of object permanence — in other words, knowing that an object still exists even if you can’t see it or it’s hidden. Preoperational The preoperational stage can be seen in children ages 2 through 7. Memory and imagination are developing. Children at this age are egocentric, which means they have difficulty thinking outside of their own viewpoints. The main achievement of this stage is being able to attach meaning to objects with language. It’s thinking about things symbolically. Symbolic thought is a type of thinking where a word or object is used to represent something other than itself. Concrete operational Children are much less egocentric in the concrete operational stage. It falls between the ages of 7 to 11 years old and is marked by more logical and methodical manipulation of symbols. The main goal at this stage is for a child to start working things out inside their head. This is called operational thought, and it allows kids to solve problems without physically encountering things in the real world. Formal operational Children 11 years old and older fall into Piaget’s formal operational stage. A milestone of this period is using symbols to understand abstract concepts. Not only that, but older kids and adults can also think about multiple variables and come up with hypotheses based on previous knowledge. Piaget believed that people of all ages developed intellectually. But he also believed that once a person reaches the formal operational stage, it’s more about building upon knowledge, not changing how it’s acquired or understood.
  • 0 Votes
    4 Posts
    2k Views
    zareenZ
    @zareen said in CS611 Assignment 2 Solution and Discussion: Name the goals which we try to achieve in requirement management? q Requirements engineering is comprised of two major tasks: … or achieve an objective and that must be met or possessed by a … requirement? • For example, does a requirement to list names in … Constraints are I/O device capability, system representations, etc. … Developers try to tell us how to do our jobs. Users want …link text
  • 0 Votes
    2 Posts
    565 Views
    zareenZ
    Solution: Analysis Concepts and Principles Answer Example: What will be the output if no analysis performed? Example Answer: 11 In which phase, role of software is identified. 1 Bridges the gap between system level requirements engineering and software design. 2 Data, functions and behavioral requirements are identified by eliciting information gathered from…. 3 Why requirements are refined and analyzed? 4 Who will take care of all the user needs and requirements? 5 Who will interact the customer to elicit requirements? 6 What is required to perform job properly? 7 Who perform requirements analysis generally? 8 Who may perform requirement analysis task in complex business application? 9 What is required to system analyst to perform duties successfully in chemical industry while his past experience in banking sector? 10
Reputation Earning
How to Build a $1,000/Month World CUP LIVE Matches Live Cricket Streaming
Ads
File Sharing
Stats

0

Online

3.0k

Users

2.8k

Topics

8.5k

Posts
Popular Tags
Online User
| |