SY-Engineering-MU
- Explain properties of Bezier Curve. Properties of Bezier Curve They generally follow the shape of the control polygon, which consists of the segments joining the control point... 1
- Write a C program to draw a solar system using computer graphics Answer: Draw the Sun as a filled circle at the screen centre, draw 8 elliptical orbits with ellipse(), place a filled planet on each orbit a... 1
- Bresenham’s Line drawing Algorithm Answer: Bresenham's algorithm draws a line using only integer additions: at each step along the driving axis it uses the sign of a decision... 1
- DDA Line drawing Computer Graphics Answer: DDA (Digital Differential Analyzer) takes steps = max(|dx|, |dy|), increments x by dx/steps and y by dy/steps at each step, and plot... 1
- midpoint ellipse drawing algorithm in computer graphics Answer: The midpoint ellipse algorithm plots one quadrant of the ellipse x²/r_x² + y²/r_y² = 1 in two regions (slope magnitude less than 1,... 1
- calculate the pixel position along a straight line between p1(20,20) and p2(10,12) using bresenhems line drawing method Pixels: (10,12), (11,13), (12,14), (13,14), (14,15), (15,16), (16,17), (17,18), (18,18), (19,19), (20,20). Bresenham's method steps along x... 1
- Write a Program To implement bit map method for given character Genration #include<stdio.h> #include<conio.h> #include<graphics.h> void main() int gd=DETECT,gm,i,j; int a[20][20]= 0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,... 1
- Write A program To implement program for projection of 3d object on projection Plane #include <stdio.h> #include <stdlib.h> #include<graphics.h> #include<conio.h> void draw3d(int s,int x[20],int y[20],int d); void main() { in... 1
- Write a program To implement Midpoint circle #include<stdio.h> #include<graphics.h> #include<math.h> void main() float p; int i,gd,gm,x,y; int r; detectgraph(&gd,&gm); initgraph(&gd,&gm... 1
- Write A program To implement Cohen sutherland Line Clipping Algorithm #include<stdio.h> #include<conio.h> #include<stdlib.h> #include<dos.h> #include<math.h> #include<graphics.h> typedef struct coordinate int x... 1
- Write a C program To implement Bresenham's Line Drawing Algorithm #include<stdio.h> #include<graphics.h> #include<math.h> #include<conio.h> void main() float x,y,x1,y1,x2,y2,dx,dy,e; int i,gd,gm; clrscr();... 1
- To implement DDA Algorithm for Drawing a Line Segment between two Given end Points A(x1,y1) and B(x2,y2) #include<stdio.h> #include<graphics.h> #include<math.h> void main() float x,y,x1,y1,x2,y2,dx,dy,length; int i,gd,gm; clrscr(); printf("Enter... 1
- Syllabus of DataBase Management System Module Content Hrs 1 Introduction Database Concepts 3 1.1 Introduction, Characteristics of databases, File system v/s Database system, Data... 1
- DataBase Management System viva question What are the characteristics of databases? What is the difference between a file system and a database system? What is data abstraction and... 1
- if x is a poisson variate such that p(x=1)= p(x=2) find e(x^2) Given that P(X=1) = P(X=2), we can write: beginaligned P(X=1) &= e^(-λ)λ¹/1! \\ P(X=2) &= e^(-λ)λ²/2! endaligned Dividing the two equations,... 1
- Analysis of algorithms viva question semester 4 mumbai university What is the mathematical background required for algorithm analysis? What is the significance of performance analysis in algorithms? Define... 1
- Create table student with required attribute and perform following query: To create the STUDENT table with the required attributes: CREATE TABLE STUDENT ( S_ID INT PRIMARY KEY, S_NAME VARCHAR(50) NOT NULL, S_EMAIL... 1
- Write SQL queries for given Database , Find total number of people who owned cars that involved in accident 2004 Answer: The damage amount and the link between a car and an accident are not in the four tables given, so this is the standard insurance sch... 1
- Write SQL queries for given Database , Modify database so ‘jack’ is now live in ‘mumbai’ To modify the database so that 'jack' is now living in 'mumbai', you can use the following SQL query: UPDATE Employeee SET city = 'mumbai' W... 1
- Write SQL queries for given Database , Find name of employee having first letter ‘S’ in their names Answer: Use LIKE 'S%' for names starting with S, salary*12 for annual salary, a three-table join with qualified columns for Accenture employ... 1
- Write a program to implement Disk Scheduling algorithms like FCFS, SCAN and C- SCAN. Answer: FCFS serves requests in the given order; SCAN sorts the requests, moves the head towards one end serving requests, touches the last... 2
- Write a program to implement various page replacement policies Answer: FIFO replaces the page that came in first, LRU replaces the page not used for the longest time, and Optimal replaces the page that w... 2
- Write a program to implement dynamic partitioning placement algorithms i.e Best Fit, First – Fit and Worst –Fit. Answer: In dynamic partitioning, a process is placed in a free hole that is large enough: First Fit takes the first such hole, Best Fit the... 2
- Write a program to demonstrate the concept of deadlock avoidance through Banker’s Algorithm #include<stdio.h> int main() int n, m, i, j, k; n = 5; m = 3; int alloc[ 5 ] [ 3 ] = 0, 1, 0, 2, 0, 0, 3, 0, 2, 2, 1, 1, 0, 0, 2; int max[ 5... 1