## Monday, 27 May 2019

### CS403-DBMS Assignment no. 2 Solution SPRING 2019 Due date: 30 May, 2019 | SUPERSTARWEBTECH

Subject: CS403-DBMS
Semester: SPRING 2019
Assignment No. 2
Due date: 30 May 2019
 CS403 DBMS ASSIGNMENT 2 SOLUTION SPRING 2019

CS403-DBMS Assignment 2 #Question

Our second assignment is the continuation of the first assignment. In the first assignment, an ERD was required for the given scenario.
The ERD of the first assignment is given below:

You’re required to perform the first task according to above Entity Relationship Diagram.

1. Convert the above Entity Relationship Diagram into Relational data model
You have to convert all the components of the ERD into Relational Data model.
2. Perform the Cartesian product (Task X DiscussionThread) on the following relations:
 Task_id Title Creation_date Deadline Assigned_to T0001 Computer Science 01/01/2019 15/01/2019 User001 T0002 Management Science 02/02/2019 16/02/2019 User002 T0003 Mass Communication 03/03/2019 17/03/2019 User003 T0004 Bio Informatics 04/04/2019 20/04/2019 User004

3. Find the degree and cardinality of the relations given in the 2nd question.

## Saturday, 25 May 2019

### CS602-Computer Graphics Assignment no. 2 Solution SPRING 2019 Due date: 26 May, 2019 | SUPERSTARWEBTECH

Subject: CS602-COMPUTER GRAPHICS
Semester: SPRING 2019
Assignment No. 1
Due date: 26 May 2019
 CS602 ASSIGNMENT 2 SOLUTION SPRING 2019

CS602-Computer Graphics Assignment 2 Solution #Question

This task is based on the concepts of basic transformations like translation, scaling, and reflection (along the axis) of a rigid body. For this purpose you have to implement the following:

1)      You first have to divide your screen into four quadrants as shown in the figure:
 CS602 ASSIGNMENT 2 SOLUTION 2019

2)      Take three points x1(1,0), x2(3,0) and x3(3,2) as three coordinates and draw a triangle in the first quadrant. (Hint: Can use line function or fillpoly function of graphics.h to draw a triangle)
 CS602 ASSIGNMENT 2 SOLUTION SPRING 2019

3)      Now translate the above triangle to a new location with tx=2 and ty=1.
 CS602 ASSIGNMENT 2 SOLUTION SPRING 2019

4)      Now scale the translated triangle by sx=2 and sy=2. The yellow triangle in fig is the scaled one.
 CS602 ASSIGNMENT NO 2 SOLUTION SPRING 2019

5)      Take reflection along the x-axis of the scaled triangle (the yellow one) from step 4. This will be the blue triangle in the figure.
 CS602 ASSIGNMENT NO 2 SOLUTION SPRING 2019

6)      Take reflection along the y-axis of the scaled triangle (the yellow one) from step 4. This will be the magenta triangle in the figure.
 CS602 ASSIGNMENT 2 SOLUTION SPRING 2019

Write a code in c++ to implement the above functions. It will be a good programming practice that you implement it by creating a triangle class.
ðŸ‘‰ IMPORTANT NOTE: WATCHðŸ‘€ THIS TUTORIAL FIRST. Then you will be able to solve your assignment.
 CS602 ASSIGNMENT 2 SOLUTION SPRING 2019 OUTPUT PREVIEW

CS602-Computer Graphics Assignment 2 Solution Watch Video!

ðŸ‘‰ IMPORTANT NOTE: WATCHðŸ‘€ THIS TUTORIAL FIRST. Then you will be able to solve your assignment.

## Friday, 24 May 2019

### CS101-Intro to Computing Assignment no. 2 Solution SPRING 2019 Due date: 27 May, 2019 | SUPERSTARWEBTECH

Subject: CS101-Intro to Computing
Semester: SPRING 2019
Assignment No. 2
Due date: 27 May 2019
 CS101 ASSIGNMENT 2 SOLUTION SPRING 2019

CS101-Intro to Computing Assignment 2 #Question #Preview

You are required to develop an HTML webpage according to the following instructions.

Title of your webpage should be CS101_Student ID (e.g. CS101_BC123456789)
Main heading should be “Create an Account” and it should be center aligned. Also, make sure the size of heading should be larger than the text displayed in the body of page.
Apply some Background color to your web page (other than white).
Use “Form” and “Table” in your assignment.
Create 6 text input boxes to enter “First Name”, “Last Name”, “Mobile Number”, “Confirm Mobile Number”, “Password” and “Confirm Password”.
Maximum length of “Mobile Number” and “Confirm Mobile Number” should not be more than 12 digits.
For the sake of privacy, the text in “Password” and “Confirm Password” input boxes should appear as dot (•).
Create a Drop-Down List to display the Date from range 1 to 31.
Create a Drop-Down List to display all the Months (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, and Dec).
Create a Drop-Down List to display Year from range 1980 to 2002 as shown in the image.
Create two Radio buttons labeled as “Male” and “Female”.
Create two buttons labeled as “Reset” and “Submit”.
All the data in the form should be cleared when user clicks “Reset button”.
Page should be redirected to https://vulms.vu.edu.pk/, when user clicks on “Submit button”.

A Sample Webpage is attached below for further understanding. Make sure to follow the same format as given in this sample.
 CS101 ASSIGNMENT 2 SOLUTION PREVIEW

## Thursday, 23 May 2019

### MGT602 Entrepreneurship Quiz MCQs Lecture 1-13 Objective Questions | SUPERSTARWEBTECH

 MGT602 ENTREPRENEURSHIP OBJECTIVE QUESTIONS

MGT602-Entrepreneurship Quiz #Objective #Questions

1. A stronger incentive to leave a present lifestyle comes from a negative force that is called ___.
• Disruption ✔
• Innovation
• Entrepreneurship
• Marketing
2. According to McClelland's need theory, entrepreneurs have a prime need of:
• Achievement ✔
• Power
• Affiliation
• Esteem
3. All the following characteristics exist in the firms having traditional culture EXCEPT:
• Established procedures ✔
• Lines of authority
• Control mechanisms
• Empowerment
4. Which one of the following does not belong to an internal locus of control?
• Self-motivation
• Accomplishment
• Power of influence
• Fate ✔
5. Which of the following has a formalized hierarchy of management structure?
• Managerial domain ✔
• Entrepreneurial domain
• Intrapreneurial domain
• Non-managerial domain
6. Giving patent rights in return of royalty to a foreign manufacturer is termed as:
• Franchising
• Licensing ✔
• Foreign direct investment
• Internationalization of patents
7. Which of the following creates an urge to start a new business:
• Family ✔
• Friend
• Teacher
• All of the given
8. Sparkle toothpaste introduces its toothpaste by making its powder obsolete, this acted is called:
• Creative construction
• Destructive obsolescence ✔
• Innovative destruction
• Creative destruction
9. The phenomenon of developing new products that over time make current products obsolete is called:
• Creative destruction
• Automation
• Destructive creation ✔
10. The merger of an ice cream company with a cotton spinning company this is an exact example of:
• Diversified merger
• Product merger ✔
• Market merger
• Vertical merger
11. The method of exchange without the involvement of money is termed as:
• Barter system ✔
• Resource exchange
12. In which of the following centuries entrepreneurs were not distinguished often from managers?
• 19th Century
• Middle ages ✔
• 20th Century
• 18th Century
13. A start-up firm based on research and development is rightly called as:
• Basic company
• Founder company ✔
• Foundation company
• High potential firm
14. "An entrepreneur is one who brings resources, labor, materials, and other assets into combinations that make their value greater than before" This view is of:
• Economists ✔
• Psychologists
• Sociologists
• Scientists
15. Which one of the following is the most valuable factor while bringing in the intrapreneurial culture within an organization?
• Technological
• Economical ✔
• Political
• Social
16. The successful intrapreneurs possess all the following individual characteristics EXCEPT:
• Understanding the environment
• Being visionary
• Being inflexible ✔
• Encouraging open discussion
17. Which of the following is a sound strategic option for an organization when its purpose is to get 100% ownership in international business operations?
• Mergers and acquisitions ✔
• Joint venture
• Minority interest
• Indirect exporting
18. A company's act of introducing a new product with the intention to obsolete its previous product is coined as:
• Creative construction
• Creative destruction ✔
• Innovative destruction
• Destructive creation
19. Which of the following source of fund is mostly used by the female entrepreneur to start her own business:
• Foreign aid
• Bank loan
• Investor
• Personal savings ✔
20. Which of the following entity develop entrepreneurial infrastructure in order to help from new ventures?
• Bank
• Professional support network
• Family ✔
• Government

### MCM301 Communication Skills Quiz MCQs Lecture 1-22 MidTerm Objective Questions | SUPERSTARWEBTECH

 MCM301 Communication Skills OBJECTIVE QUESTIONS

MCM301-Communication Skills Quiz #Objective #Questions

1. Which of the following process is the automatic psychological process of receiving aural stimuli?
• Listening
• Hearing ✔
• Filtering
• Speaking
2. Interpersonal communication processes depend on how many qualities of the communicator?
• Four
• Five ✔
• Eight
• More than ten
3. Each morning Amna decides how to dress? what to eat? where to go? etc. This refers to which of the following level of communication?
• Interpersonal Communication
• Mediated Communication
• Intrapersonal Communication ✔
• Person-to-Group Communication
4. Which one of the following statement defines the situational context of interpersonal communication?
• It concerns your reactions to the other person.
• It deals with the psycho-social "where" you are communicating. ✔
• It is who you are and what you bring to the interaction.
• It deals with the physical "where" you are communicating.
5. Farah was doubtful about Saman's intentions when she was trying to convince her to invest in the new project. Which form of listening it is?
• Empathic listening
• Critical listening
• Active listening ✔
• Preferential listening
6. Which of the following is a strategy for better listening?
• Listen for facts, not feelings ✔
• Listen for feelings only.
• Listen for feelings as well as facts.
• Listening to facts that demonstrate feelings
7. Mediated communication occurs through:
• Letters, reports, forms, and interoffice memoranda ✔
• Newspapers, books, and TV
• TV, radio and wall chalking
8. What type of communication it would be when co-workers decide to meet to deal with a problem?
• Upward
• Horizontal
• Downward
• Intrapersonal ✔
9. What is involved in the communication process?
• Idea-encoding-channel-decoding-feedback ✔
10. All of the following are the tips to become a better listener, EXCEPT:
• Don't talk while listening
• Keep an open mind
• Creating interruptions ✔
11. Partial or marginal listening can distort the intent of which of the following?
• Message ✔
• Channel
• Source
• All of the given
12. Select who/which of the following is responsible to initiate actions to overcome physical barriers:
• Sender ✔
• Medium
• Message
13. A thesis statement is a ___ of your speech.
• Core idea or bottom line ✔
• End of the speech
• Body
• Indirect statement
14. In general, there are ___ of newspaper indexes:
• Two kinds
• Three kinds ✔
• Many kinds
• None of the given
15. ___ is a process which demands that full attention be paid to the spoken material.
• Speaking
• Listening ✔
• Hearing
• Dialogue
16. Conflicting information develops:
• Mental turbulence ✔
• Good understanding
• Psychological disorders
• Sharp thinking
17. When centring on the audience, you start by finding ___ that enable you to identify with them.
• Rare traits
• Common traits ✔
• Extraordinary character
• Unusual quality
18. Which of the following is correct about human memory?
• Not very sharp
• Reconstructive ✔
• Poorly developed
• All of the given
19. Self-confident individuals stand more erect than those:
• who lack confidence ✔
• who are over-confident
• who are submissive
• who are arrogant
20. Audience information such as age, gender, education, and socioeconomic status falls into a category known as
• Profiling
• Demographics
• Topoi
• MYGLO
21. Which type of speaking relies on speaking notes?
• Manuscript
• Memorized
• Impromptu
• Extemporaneous
22. All of the following correct about the rules of finding a topic of speech except:
• begin early
• choose a topic you are interested in
• select a topic you know about or easily research
• electronic periodical indexes
23. Which of the following is not a demographic characteristic?
• sex
• age
• cultural background
• attitude
24. Which one of the following pattern is especially effective if the audience already knows that the problem exists?
• problem/solution order
• cause/effect order
• deductive order
• inductive order
25. All of the following statements are the purposes of forming an outline for a speech EXCEPT one. Which one is it?
• It helps put order to the information
• It serves as a model to check your work
• It serves as a guide from which to deliver your speech
• It helps to build confusion for the listeners
26. All of the following types of periodicals except:
• Journals
• Magazines
• Newspapers
• Note-cards
27. Which one of the following is a planned and rehearsed speech that uses different words during rehearsals?
• Manuscript speech
• Memorized speech
• Impromptu speech
• Extemporaneous speech
28. Which phrase shows the key rule to make a good speech?
• To keep in mind that audiences care most about things that directly affect them
• To avoid the audience's choice and most about things that directly affect them
• Centring on the self
• To keep in mind that idea that is presented in speech
29. Which one of the following defines interpersonal communications communication that occurs between people who have known each other for some time?
• Development view
• Contextual view
• Relative view
• Virtual view
30. Which of the following involves grasping what the speaker means by seeing the ideas and information from his/her point of view?
• Listening
• Hearing
• Filtering
• Speaking
31. On average, how faster a person can think than the listener can talk?
• Ten times
• Five times
• Four times
• Three times
32. Excitement is communicated by:
• A high-pitched voice
• The rapid rate of speaking
• Shrill voice
• All of the given
33. Motivation is the process of:
• Satisfying internal needs through actions and behaviours
• Resolving issues in an informal or formal atmosphere
• Maintaining public relations
• Working with other employees in a depressed atmosphere
34. ___ can also seriously impede the transmission of ideas.
• Tolerance
• Prejudice
• Acceptance
35. Poor retention either on the part of the sender or on the part of the receiver can create problems or lead to ___
• Misunderstanding
• Hatred
• Understanding
• Generosity
36. Which of the following is the process of giving symbols meanings through the unique contents of each person's mind?
• Listening
• Hearing
• Filtering
• Speaking
37. What does frequent eye contact show?
• Tension
• Liking
• Rejection
• Boredom
38. Which of the following is NOT a form of nonverbal communication?
• Gestures
• Facial expression
• Appearance

### CS605 Software Engineering Part 2 Quiz MCQs Lecture 1-22 MidTerm Objective Questions | SUPERSTARWEBTECH

 CS605 SOFTWARE ENGINEERING 2 OBJECTIVE QUESTIONS

CS605-Software Engineering Quiz #Objective #Questions #MidTerm

1. The primary difference between an internal logical file and external interface file is that ___ is not maintained by the application being counted.
• ILF
• RET
• DET
• EIF ✔
2. If a software developer is going to develop software for a nuclear reactor which factor(s) will be more important?
• cost-effectiveness
• performance
• reliability
• both performance and reliability ✔
3. ___ deadline is one of the reasons for project failure.
• Achievable
• Feasible
• Unrealistic ✔
• Realistic
4. LOC is heavily dependent on the ___.
• No. of document pages
• No. of objects
• No. of GUIs
• Programming style ✔
5. A ___ is a user identifiable group of logically related data or control information referenced by the application.
• EIF
• Object
• ILF ✔
• Item
6. ___ is the smallest unit of activity that is meaningful to the user(s).
• Data
• Elementary Process ✔
• ILF
• EIF
7. MOI model of leadership stands for
• Motivation, Operationalize, Integration
• Misunderstanding, Object, Ideas
• Motivation, Organization, Innovation ✔
8. In Capability Maturity Model (CMM), ___ performs optimization.
• level 1
• level 2
• level 3
• level 5 ✔
9. Software ___ related individual software measures to provide a normalized view.
• Measure
• Metric ✔
• Plan
• Attribute
10. ILF is a___ identifiable group of logically control information ___ the boundary of the application.
• user, within ✔
• user, without
• user, along
• all of the given
11. ___ technique was initially developed for manufacturing processes in the 1920's by Walter Shewart.
• Upper Control line
• Control chart
• CMP
• Quality
12. The extent to which a program can be reused in other applications is called ___
• Reliability
• Performance
• Usability
• Reusability
13. Empirical models are statistical models and are based upon ___
• Historic data
• Control data
• Current data
• Statistical
14. In context of "individual control chart", if a single metrics value lies outside UNPL, it means that:
• The process has been matured
• The process is not mature yet
• Process is out of control
• Process is within control
15. The extent to which a program can be expected to perform its intended function with required precision is called ___
• Usability
• Reliability
• Portability
• Maintainability
16. Several Entities are always created ___ and deleted together then this is a strong idication that they should be grouped into ___ logical file/files.
• Together, Single
• Together, Multiple
• Together, Double
• All of the given
17. We need to employ some statistical techniques and plot the results ___. These are known as statistical control techniques.
• Graphically
• Automatically
• Manually
• Personally
18. ___ is the measure of how many defects are removed by the quality assurance processes before the product is shipped for operation.
• Removal Deficiency
• Defect removal efficiency
• Bug report
• Bug tracking algorithm
19. When more than one users interpret the same requirement in different ways then we can say that the requirement is:
• None
• Incomplete
• Ambiguous
• Incorrect
20. Effort required to test a program to ensure that it performs its intended function ___
• Testability
• Bug fixing
• Debugging
• Security
21. If we plot a graph between defects reported, and defects fixed then:
• Difference between defects reported and fixed will show the defect yet to be fixed
• This graph will show that the defect detection process is not accurate
• This graph will show that some requirements are ambiguous
• We can not draw any information from that graph
22. Identify the TRUE statement:
• Same process metrics may vary from project to project
• Process metrics never vary from project to project
• Process metrics applied on one project can not be applied on the other
• None
23. ___ files are the logical files that the customer understands must be maintained by the system.
• None
• External
• Logical
• Internal

## Monday, 13 May 2019

### CS610-Computer Networking Assignment no. 1 Solution SPRING 2019 Due date: 14 May, 2019 | SUPERSTARWEBTECH

Subject: CS610-Computer Networking
Semester: FALL 2019
Assignment No. 1
Due date: 14 May 2019
 CS610 ASSIGNMENT 1 SOLUTION SPRING 2019

CS610-Computer Networking Assignment 1 Solution #Question

 Question No. 1                                                                                                                                   [Marks: 10] Create a directory (Folder) and name it as your own student id i.e. mc123456. Go to your own student id directory through command prompt and execute ping and trace route commands for any of these websites: Note: ·         Take screenshots for both commands and show them in your solution. ·         Both ping and trace route commands must be clearly visible in the screenshots. ·         You should create the directory with your own student ID. If the name of the directory shown in the screenshot doesn’t match with your student id then the assignment will be considered as copied and will be awarded zero marks.
 Question # 2                                                                                                                                        [Marks: 10] a)      How much time is required by a machine to transfer a file of 8MB across the network with 64Kbps? b)      How much time is required to send a packet, if file is broken into packets of size 1024 bytes?

CS610-Computer Networking Assignment 1 Solution Watch Video!

## Sunday, 12 May 2019

### CS604-Operating Systems Assignment no. 1 Solution SPRING 2019 Due date: 14 May, 2019 | SUPERSTARWEBTECH

Subject: CS604-Operating Systems
Semester: FALL 2019
Assignment No. 1
Due date: 14 May 2019
 CS604 ASSIGNMENT 1 SOLUTION SPRING 2019

CS604-Operating Systems Assignment 1 Solution #Question

The following figure shows the directory structure in a UNIX/Linux system. Suppose, user Hassan has a subdirectory named courses under his home directory. This directory contains subdirectories for the courses that he has taken i.e. (CS401 and CS604).

If Hassan is currently in the courses directory than write the UNIX/Linux commands to perform following operations.

1.      How he can navigate back to his home directory?

2.      How he can navigate to his personal directory?

3.      How he can navigate to the directory for cs604 course?

4.      Right after the login, how he can display names of files and directories in his home directory?

5.      How he can create a new directory named programs under cs604 directory?

## Saturday, 11 May 2019

### CS602-Computer Graphics Assignment no. 1 Solution SPRING 2019 Due date: 12 May, 2019 | SUPERSTARWEBTECH

Subject: CS602-COMPUTER GRAPHICS
Semester: SPRING 2019
Assignment No. 1
Due date: 12 May 2019
 CS602 ASSIGNMENT 1 SOLUTION SPRING 2019

CS602-Computer Graphics Assignment 1 Solution #Question

A graphic designing company ABC needs your services to write a code for a particular design consisting of lines only. The design will be used for greeting cards printing, mug art printing and t-shirts printing in the future. Following design is selected for this purpose:

As you can see there is a rectangle in the center of the screen. Inside the rectangle, there are three horizontal lines above and below the rectangle at equal space.

Inside these three lined sets, there are two patterns. The first pattern is the horizontal lines equidistance from each other followed by vertical lines. The second pattern is equidistance vertical lines followed by horizontal lines. The total number of lines in both patterns are equal.

(Hint: You can use a loop for each pattern)

Now you have to write a code for generating the above design. Your actual Student-ID should be displayed at the top left corner of the screen.

ðŸ‘‰ IMPORTANT NOTE: WATCHðŸ‘€ THIS TUTORIAL FIRST. Then you will be able to solve your assignment.

CS602-Computer Graphics Assignment 1 Solution Watch Video!

ðŸ‘‰ IMPORTANT NOTE: WATCHðŸ‘€ THIS TUTORIAL FIRST. Then you will be able to solve your assignment.

## Friday, 10 May 2019

### CS602-COMPUTER GRAPHICS | HOW TO ADD GRAPHICS LIBRAY IN DEV CPP 64 BIT | SSWT

Subject: CS602-COMPUTER GRAPHICS
 HOW TO ADD GRAPHICS LIBRARY IN DEV-C++ 64-BIT

PART 1 - HOW TO ADD Graphics library in dev-c++ 64-bit version

PART 2 - HOW TO ADD Graphics library in dev-c++ 64-bit version

### CS302-Digital logics and design Assignment no. 1 Solution SPRING 2019 Due date: 13 May, 2019 | SUPERSTARWEBTECH

Subject: CS302-Digital Logics and Design
Semester: FALL 2019
Assignment No. 1
Due date: 13 May 2019
 CS302 ASSIGNMENT 1 SOLUTION SPRING 2019

## Thursday, 9 May 2019

### CS201-Intro to Programming Assignment no. 1 Solution SPRING 2019 Due date: 13 May, 2019 | SUPERSTARWEBTECH

Subject: CS201-Intro to Programming
Semester: FALL 2019
Assignment No. 1
Due date: 13 May 2019
 CS201 ASSIGNMENT 1 SOLUTION SPRING 2019

CS201-Intro to Programming Assignment 1 #Question

XYZ University wants to track students’ admissions. They need a program in C++ which will automate the process.

·         The program will display the following menu options to user:-

======================================================

Please select the program option, in which you want to enter enrollments.

Please enter option 1 for BCS program.

Please enter option 2 for BIT program.

Please enter option 3 for the BBA program.

Please enter option 4 for BA program.

===============================================

·         First the user will select the program option, for any invalid option the program should not perform any calculation and display an error message like:-

THE PROGRAM NAME IS INVALID, PLEASE TRY AGAIN.

Press any key to continue…

·         On pressing any key from the keyboard, the program should start again from the beginning.

·         Upon entering the valid program option, the program will ask the user to enter students’ enrollment for four years as:-

o   Please enter number of students in Year 1.

o   Please enter number of students in Year 2.

o   Please enter number of students in Year 3.

o   Please enter number of students in Year 4.

·         After entering the valid program option and students’ enrollment data for four years, the department name of the program needs to be displayed. (e.g. for BCS & BIT, the department name needs to be DEPARTMENT OF COMPUTER SCIENCE, for BBA, the department name should be DEPRTAMENT OF BUSINESS ADMINISTRATION while for BA, the department name should be DEPARTMENT OF FINE ARTS.)

·         Finally, the program will perform some calculations and will display the following information:-

o   The number of students in each year.

o   The percentage of student’s enrollment in each year against particular program.

o   The total number of students in the program.

o   Also if the number of students enrolled in a year is greater than 100, then display a message that THE NUMBER OF STUDENTS ENROLLED IN THAT YEAR IS OVER THE LIMIT.

CS201-Intro to Programming Assignment 1 Solution! Watch Video