Engineering
- differentiates between Prim's Algorithm and Kruskal's Algorithm: Prim's Algorithm Kruskal's Algorithm A greedy algorithm that finds the minimum spanning tree (MST) of a weighted undirected graph. Another g... 1
- What is the difference between an algorithm and a program? AlgorithmProgram A series of instructions designed to solve a specific problem or accomplish a specific task.A set of instructions written i... 1
- How to Create a Calculator GUI with Python Tkinter as shown in Image ? Answer: Create an Entry widget as the display and a grid of Buttons (CE, C, backspace, digits 0 to 9, '.', +, -, *, /, =). Digit and operato... 1
- Explain Views & Trigger with an example. Views and triggers are two important database objects used to improve the functionality and security of a database. Here's an explanation of... 1
- Explain DCL commands with an example. DCL (Data Control Language) commands are used to control access to a database. Here's an explanation of two common DCL commands with example... 1
- Explain any four DML commands with an example. DML (Data Manipulation Language) commands are used to manipulate data in a database. Here are four common DML commands with examples of thei... 1
- Explain any four DDL commands with an example. DDL (Data Definition Language) commands are used to create, modify, and delete database objects such as tables, indexes, and constraints. He... 1
- Define Super Key, Candidate Key, Primary Key and Foreign Key In relational database design, there are several types of keys that are used to define relationships between tables. Here are the definition... 1
- Explain any five relational algebra operators with an example. Relational algebra is a theoretical framework that describes a set of mathematical operators used to manipulate and query relational databas... 1
- How can I create a registration form using tkinter and connect it to a MySQL database? Answer: Build the form with tkinter Labels, Entry boxes and a Submit button, connect to MySQL with mysql.connector, and in the button's func... 1
- Characteristics of Databases Answer: The main characteristics of the database approach are: self-describing nature, insulation between programs and data (data abstractio... 1
- Draw an E-R diagram of Library Management System. Answer: The E-R diagram of a Library Management System has the entities Member, Book, Book_Copy, Author, Publisher and Librarian, linked by... 1
- Explain Generalization & Specialization with an example. Generalization: Generalization is a reverse process of abstraction in which differences among several entity types are suppressed i.e. commo... 1
- State Various Applications of Computer Graphics ? Answer: Computer graphics is used in CAD, presentation graphics, entertainment, education and training, visualisation, image processing, use... 1
- 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