This document contains 31 questions and answers about computer graphics and display technologies. It discusses topics such as the definition of computer graphics, applications of computer graphics like CAD and GUI, interactive computer graphics, RGB color model, CRT monitors and their components like phosphor and resolution, raster and random scan displays, refresh buffers and frame buffers, pixels and bitmaps, beam penetration and shadow masking color techniques, emissive and non-emissive displays, 3D viewing devices, the role of video controllers, scan conversion, and impact vs non-impact printers as well as specifics of inkjet, laser, and electrostatic printers.
In JavaScript, almost "everything" is an object.
-Booleans can be objects (if defined with the new keyword)
-Numbers can be objects (if defined with the new keyword)
-Strings can be objects (if defined with the new keyword)
-Dates are always objects
-Maths are always objects
-Regular expressions are always objects
-Arrays are always objects
-Functions are always objects
-Objects are always objects
Form using html and java script validationMaitree Patel
This document discusses form validation using HTML and JavaScript. It begins with an introduction to HTML forms, form elements like <input>, and common form controls such as text, checkbox, radio buttons and selects. It then covers JavaScript form validation, explaining why validation is needed and providing an example that validates form fields like name, email and zip code on submit. The example uses JavaScript to check for empty fields and invalid email and zip code formats before allowing form submission.
String Function
1. charAt():
This method returns the character from the specified index.Characters in a string are indexed from left to right. The index of the first character is 0, and the index of the last character in a string called stringName is stringName.length - 1.
Syntax:
string.charAt(index);
Return Value:
Returns the character from the specified index.
Example:
<html>
<head>
<title>JavaScript String charAt() Method</title>
</head>
<body>
</body>
</html>
Output:
str.charAt(0) is:T
2. concat():
Description:
This method adds two or more strings and returns a new single string.
Syntax:
string.concat(string2, string3[, ..., stringN]);
parameters:
string2...stringN : These are the strings to be concatenated.
Return Value:
Returns a single concatenated string.
Example:
<html>
<head>
<title>JavaScript String concat() Method</title>
</head>
<body>
</body>
</html>
Output:
Concatenated String :This is string oneThis is string two.
3. indexOf():
Description:
This method returns the index within the calling String object of the first occurrence of the specified value, starting the search at fromIndex or -1 if the value is not found.
Syntax:
string.indexOf(searchValue[, fromIndex])
Parameters:
searchValue : A string representing the value to search for.
fromIndex : The location within the calling string to start the search from. It can be any integer between 0 and the length of the string. The default value is 0.
Return Value:
Returns the index of the found occurrence otherwise -1 if not found.
Example:
<html>
<head>
<title>JavaScript String indexOf() Method</title>
</head>
<body>
<br />");
var index = str1.indexOf( "one" );
document.write("indexOf found String :" + index );
</body></html>
Oputput:
indexOf found String :8
indexOf found String :15
4. lastIndexOf():
Description:
This method returns the index within the calling String object of the last occurrence of the specified value, starting the search at fromIndex or -1 if the value is not found.
Syntax:
string.lastIndexOf(searchValue[, fromIndex])
Parameters:
searchValue : A string representing the value to search for.
fromIndex : The location within the calling string to start the search from. It can be any integer between 0 and the length of the string. The default value is 0.
Return Value:
Returns the index of the last found occurrence otherwise -1 if not found.
Example:
<html>
<head>
<title>JavaScri
This document provides an overview of object-oriented programming concepts such as objects, classes, and messaging. It defines an object as having state represented by variables and behavior represented by methods. A class is described as a blueprint that defines common attributes and behaviors of objects. The document also explains how objects communicate by sending messages to each other to invoke methods.
Variables are containers that store information in PHP. PHP variables are case sensitive and can contain strings, integers, floats, Booleans, arrays and objects. Variables start with a $ sign followed by a name. Variable names must begin with a letter or underscore and can contain alphanumeric characters and underscores. Variables can be assigned values using common operators like assignment, addition, subtraction etc. Variables can have different scopes like local, global and static. Constants are similar to variables but their values cannot be changed once defined.
Constructor is a special member method which will be called automatically when you create an object of any class.
The main purpose of using constructor is to initialize an object.
http://www.tutorial4us.com/java/java-constructor
In JavaScript, almost "everything" is an object.
-Booleans can be objects (if defined with the new keyword)
-Numbers can be objects (if defined with the new keyword)
-Strings can be objects (if defined with the new keyword)
-Dates are always objects
-Maths are always objects
-Regular expressions are always objects
-Arrays are always objects
-Functions are always objects
-Objects are always objects
Form using html and java script validationMaitree Patel
This document discusses form validation using HTML and JavaScript. It begins with an introduction to HTML forms, form elements like <input>, and common form controls such as text, checkbox, radio buttons and selects. It then covers JavaScript form validation, explaining why validation is needed and providing an example that validates form fields like name, email and zip code on submit. The example uses JavaScript to check for empty fields and invalid email and zip code formats before allowing form submission.
String Function
1. charAt():
This method returns the character from the specified index.Characters in a string are indexed from left to right. The index of the first character is 0, and the index of the last character in a string called stringName is stringName.length - 1.
Syntax:
string.charAt(index);
Return Value:
Returns the character from the specified index.
Example:
<html>
<head>
<title>JavaScript String charAt() Method</title>
</head>
<body>
</body>
</html>
Output:
str.charAt(0) is:T
2. concat():
Description:
This method adds two or more strings and returns a new single string.
Syntax:
string.concat(string2, string3[, ..., stringN]);
parameters:
string2...stringN : These are the strings to be concatenated.
Return Value:
Returns a single concatenated string.
Example:
<html>
<head>
<title>JavaScript String concat() Method</title>
</head>
<body>
</body>
</html>
Output:
Concatenated String :This is string oneThis is string two.
3. indexOf():
Description:
This method returns the index within the calling String object of the first occurrence of the specified value, starting the search at fromIndex or -1 if the value is not found.
Syntax:
string.indexOf(searchValue[, fromIndex])
Parameters:
searchValue : A string representing the value to search for.
fromIndex : The location within the calling string to start the search from. It can be any integer between 0 and the length of the string. The default value is 0.
Return Value:
Returns the index of the found occurrence otherwise -1 if not found.
Example:
<html>
<head>
<title>JavaScript String indexOf() Method</title>
</head>
<body>
<br />");
var index = str1.indexOf( "one" );
document.write("indexOf found String :" + index );
</body></html>
Oputput:
indexOf found String :8
indexOf found String :15
4. lastIndexOf():
Description:
This method returns the index within the calling String object of the last occurrence of the specified value, starting the search at fromIndex or -1 if the value is not found.
Syntax:
string.lastIndexOf(searchValue[, fromIndex])
Parameters:
searchValue : A string representing the value to search for.
fromIndex : The location within the calling string to start the search from. It can be any integer between 0 and the length of the string. The default value is 0.
Return Value:
Returns the index of the last found occurrence otherwise -1 if not found.
Example:
<html>
<head>
<title>JavaScri
This document provides an overview of object-oriented programming concepts such as objects, classes, and messaging. It defines an object as having state represented by variables and behavior represented by methods. A class is described as a blueprint that defines common attributes and behaviors of objects. The document also explains how objects communicate by sending messages to each other to invoke methods.
Variables are containers that store information in PHP. PHP variables are case sensitive and can contain strings, integers, floats, Booleans, arrays and objects. Variables start with a $ sign followed by a name. Variable names must begin with a letter or underscore and can contain alphanumeric characters and underscores. Variables can be assigned values using common operators like assignment, addition, subtraction etc. Variables can have different scopes like local, global and static. Constants are similar to variables but their values cannot be changed once defined.
Constructor is a special member method which will be called automatically when you create an object of any class.
The main purpose of using constructor is to initialize an object.
http://www.tutorial4us.com/java/java-constructor
The document defines the Document Object Model (DOM) as an application programming interface (API) for HTML and XML documents that defines the logical structure of a document and how it can be accessed and manipulated programmatically. The DOM is a W3C standard separated into three parts - the core DOM for any structured document, the XML DOM for XML documents, and the HTML DOM for HTML documents. The DOM provides a standard programming interface that can be used across various environments and applications to dynamically access and update the content, structure, and style of documents.
In this you learn about
--Constructors in Java
--Types of Constructors
1. Default Constructor
2. Parameterized Constructor
Difference between Constructor and Method
This document discusses JavaScript variables, functions, and objects. It covers JavaScript datatypes like numbers, strings, and objects. It describes variable scope and how variables are hoisted or moved to the top of their function. It also discusses how functions can be defined and used as variables. Global objects like the window object are described. Finally, it provides examples of defining basic functions and using objects with properties and methods.
HTML5 introduced new form elements, attributes, and input types to improve the user experience of web forms. Key additions included the <datalist> element for autocomplete suggestions, <keygen> for digital signatures, and <output> to display calculation results. HTML5 also defined new input types like email, url, tel, and color to provide native form validation for specific data types. While browser support for HTML5 forms has increased, some features remain incompatible with older browsers, so backward compatibility must still be considered.
This document provides an introduction and overview of strings in Python. It discusses that strings are a data type that can contain sequences of characters. The built-in string class is 'str' and strings can be defined using single, double, or triple quotes. Strings support various methods like indexing, slicing, concatenation, formatting and more. Common string methods are also described such as upper(), lower(), split(), join() which allow manipulating strings. The document also discusses comparing and slicing strings in Python.
This ppt gives information about:
1. OOPs Theory
2. Defining a Class
3. Creating an Object
4. The $this Attribute
5. Creating Constructors
6. Creating Destructors
This document discusses advance object-oriented programming concepts. It covers procedural programming vs object-oriented programming, features of OOP like classes, objects, inheritance and polymorphism. It also discusses OOP design principles like single responsibility, open-closed, Liskov substitution, dependency inversion and interface segregation principles. Examples are provided to explain concepts like inheritance, polymorphism, abstraction and interfaces. The document provides a comprehensive overview of key OOP concepts and design principles.
Objects in JavaScript can be created using object literals, the new keyword, or Object.create(). Objects are collections of properties and methods that are mutable and manipulated by reference. Arrays are objects that represent ordered collections of values of any type and are created using array literals or the Array constructor. Common array methods include concat, join, pop, push, reverse, and sort. The Math object provides common mathematical functions like pow, round, ceil, floor, random, and trigonometric functions.
Java Collections | Collections Framework in Java | Java Tutorial For Beginner...Edureka!
**** Java Certification Training: https://www.edureka.co/java-j2ee-soa-training ****
This Edureka tutorial on “Java Collections” will talk about the complete hierarchy of Collections Frameworks in Java. It will walk you through the various fundamentals of collections like Lists, Queue, Sets, Interfaces etc. Through this tutorial you will learn the following topics:
Java Collection Framework
Collection Framework Hierarchy
Interfaces
List
Queue
Set
Check out our Java Tutorial blog series: https://goo.gl/osrGrS
Check out our complete Youtube playlist here: https://goo.gl/gMFLx3
This document discusses exception handling in C++. It begins with an introduction explaining that exception handling allows a program to automatically invoke error handling routines when runtime errors occur. It then covers key aspects of exception handling including the try, catch, and throw statements. Finally, it provides code examples demonstrating how to throw, catch, and handle exceptions in C++.
Type conversion in C provides two methods: implicit type conversion which occurs automatically during expressions, and explicit type conversion using cast expressions. Implicit conversion occurs when different types are used in expressions, such as when an int is used in a calculation with a float. The usual arithmetic conversions implicitly promote operands to the smallest type that can accommodate both values. Explicit casting uses cast operators to force a type conversion.
The document discusses use case modeling. It defines use cases as narrative descriptions of domain processes in a structured prose format. It describes key concepts like actors, scenarios, and the relationships between use cases such as include and extend. It provides guidelines for writing use cases, including identifying the system boundary, primary actors, and their goals to derive use cases. It also describes different styles and levels of detail for writing use cases.
Constants are fixed values that do not change during program execution. There are several types of constants including numeric, character, and string constants. Numeric constants represent numerical values and can be integers or reals. Integers can be decimal, octal, or hexadecimal while real constants contain floating point parts. Character constants are single characters within single quotes and string constants are collections of characters within double quotes.
The document discusses various best practices for writing JavaScript code, including placing scripts at the bottom of pages, using meaningful variable and function names, avoiding global variables, and optimizing loops to minimize DOM access. It also covers JavaScript language features like namespaces, data types, and self-executing functions. Finally, it mentions tools for linting, minifying, and bundling code as well as popular integrated development environments for JavaScript development.
This document provides an overview and demonstration of Bootstrap, an open-source front-end framework for developing responsive, mobile-first web sites and applications. It discusses Bootstrap's support for responsive design using LESS, its grid system, and included UI components like buttons, forms, navigation, and more. The document also demonstrates how to get started with a basic Bootstrap template and use its grid system, breakpoints, containers and columns. Finally, it mentions some tools for working with Bootstrap and provides details on Font Awesome, an icon library that is often used along with Bootstrap.
This document discusses keywords in Java including this, super, and final. It explains that this refers to the current object instance and is used to call methods or access fields of the current class. Super is used to call methods or access fields of the parent class. Final is used to declare variables that cannot be reassigned, prevent method overriding, and prevent class inheritance. The document also covers static keywords and how static methods can be called on a class without creating an instance.
This document is a presentation about JavaScript that covers what JavaScript is, where it came from, and what it can do. It introduces JavaScript as a scripting language that is easy to use and learn and runs in web browsers. The presentation explains that JavaScript is unrelated to Java but borrows some naming conventions. It provides overviews of JavaScript basics like variables, operators, and functions, as well as more advanced topics like objects, events, and DOM manipulation.
The document discusses various topics related to computer graphics including basic geometric transformations, image transformations, segmentation, polygons, coordinate systems, and clipping. Basic transformations include translation, rotation, and scaling. Additional transformations are shear and reflection. Image transformations change attributes like size, position, and angle of rotation. Segmentation involves representing graphical objects as collections of segments with their own attributes stored in a segmentation table. Polygon types include convex and concave polygons. Coordinate systems include screen, world, and viewport. Clipping extracts portions of an image inside or outside a specified region.
This document contains questions about databases and networking concepts. It covers topics like database characteristics, roles, models, languages, and components. Regarding networks, it discusses transmission media, protocols, topologies, and applications like EDI and client/server computing. The questions are multiple choice designed to test understanding of fundamental database and networking concepts.
The document defines the Document Object Model (DOM) as an application programming interface (API) for HTML and XML documents that defines the logical structure of a document and how it can be accessed and manipulated programmatically. The DOM is a W3C standard separated into three parts - the core DOM for any structured document, the XML DOM for XML documents, and the HTML DOM for HTML documents. The DOM provides a standard programming interface that can be used across various environments and applications to dynamically access and update the content, structure, and style of documents.
In this you learn about
--Constructors in Java
--Types of Constructors
1. Default Constructor
2. Parameterized Constructor
Difference between Constructor and Method
This document discusses JavaScript variables, functions, and objects. It covers JavaScript datatypes like numbers, strings, and objects. It describes variable scope and how variables are hoisted or moved to the top of their function. It also discusses how functions can be defined and used as variables. Global objects like the window object are described. Finally, it provides examples of defining basic functions and using objects with properties and methods.
HTML5 introduced new form elements, attributes, and input types to improve the user experience of web forms. Key additions included the <datalist> element for autocomplete suggestions, <keygen> for digital signatures, and <output> to display calculation results. HTML5 also defined new input types like email, url, tel, and color to provide native form validation for specific data types. While browser support for HTML5 forms has increased, some features remain incompatible with older browsers, so backward compatibility must still be considered.
This document provides an introduction and overview of strings in Python. It discusses that strings are a data type that can contain sequences of characters. The built-in string class is 'str' and strings can be defined using single, double, or triple quotes. Strings support various methods like indexing, slicing, concatenation, formatting and more. Common string methods are also described such as upper(), lower(), split(), join() which allow manipulating strings. The document also discusses comparing and slicing strings in Python.
This ppt gives information about:
1. OOPs Theory
2. Defining a Class
3. Creating an Object
4. The $this Attribute
5. Creating Constructors
6. Creating Destructors
This document discusses advance object-oriented programming concepts. It covers procedural programming vs object-oriented programming, features of OOP like classes, objects, inheritance and polymorphism. It also discusses OOP design principles like single responsibility, open-closed, Liskov substitution, dependency inversion and interface segregation principles. Examples are provided to explain concepts like inheritance, polymorphism, abstraction and interfaces. The document provides a comprehensive overview of key OOP concepts and design principles.
Objects in JavaScript can be created using object literals, the new keyword, or Object.create(). Objects are collections of properties and methods that are mutable and manipulated by reference. Arrays are objects that represent ordered collections of values of any type and are created using array literals or the Array constructor. Common array methods include concat, join, pop, push, reverse, and sort. The Math object provides common mathematical functions like pow, round, ceil, floor, random, and trigonometric functions.
Java Collections | Collections Framework in Java | Java Tutorial For Beginner...Edureka!
**** Java Certification Training: https://www.edureka.co/java-j2ee-soa-training ****
This Edureka tutorial on “Java Collections” will talk about the complete hierarchy of Collections Frameworks in Java. It will walk you through the various fundamentals of collections like Lists, Queue, Sets, Interfaces etc. Through this tutorial you will learn the following topics:
Java Collection Framework
Collection Framework Hierarchy
Interfaces
List
Queue
Set
Check out our Java Tutorial blog series: https://goo.gl/osrGrS
Check out our complete Youtube playlist here: https://goo.gl/gMFLx3
This document discusses exception handling in C++. It begins with an introduction explaining that exception handling allows a program to automatically invoke error handling routines when runtime errors occur. It then covers key aspects of exception handling including the try, catch, and throw statements. Finally, it provides code examples demonstrating how to throw, catch, and handle exceptions in C++.
Type conversion in C provides two methods: implicit type conversion which occurs automatically during expressions, and explicit type conversion using cast expressions. Implicit conversion occurs when different types are used in expressions, such as when an int is used in a calculation with a float. The usual arithmetic conversions implicitly promote operands to the smallest type that can accommodate both values. Explicit casting uses cast operators to force a type conversion.
The document discusses use case modeling. It defines use cases as narrative descriptions of domain processes in a structured prose format. It describes key concepts like actors, scenarios, and the relationships between use cases such as include and extend. It provides guidelines for writing use cases, including identifying the system boundary, primary actors, and their goals to derive use cases. It also describes different styles and levels of detail for writing use cases.
Constants are fixed values that do not change during program execution. There are several types of constants including numeric, character, and string constants. Numeric constants represent numerical values and can be integers or reals. Integers can be decimal, octal, or hexadecimal while real constants contain floating point parts. Character constants are single characters within single quotes and string constants are collections of characters within double quotes.
The document discusses various best practices for writing JavaScript code, including placing scripts at the bottom of pages, using meaningful variable and function names, avoiding global variables, and optimizing loops to minimize DOM access. It also covers JavaScript language features like namespaces, data types, and self-executing functions. Finally, it mentions tools for linting, minifying, and bundling code as well as popular integrated development environments for JavaScript development.
This document provides an overview and demonstration of Bootstrap, an open-source front-end framework for developing responsive, mobile-first web sites and applications. It discusses Bootstrap's support for responsive design using LESS, its grid system, and included UI components like buttons, forms, navigation, and more. The document also demonstrates how to get started with a basic Bootstrap template and use its grid system, breakpoints, containers and columns. Finally, it mentions some tools for working with Bootstrap and provides details on Font Awesome, an icon library that is often used along with Bootstrap.
This document discusses keywords in Java including this, super, and final. It explains that this refers to the current object instance and is used to call methods or access fields of the current class. Super is used to call methods or access fields of the parent class. Final is used to declare variables that cannot be reassigned, prevent method overriding, and prevent class inheritance. The document also covers static keywords and how static methods can be called on a class without creating an instance.
This document is a presentation about JavaScript that covers what JavaScript is, where it came from, and what it can do. It introduces JavaScript as a scripting language that is easy to use and learn and runs in web browsers. The presentation explains that JavaScript is unrelated to Java but borrows some naming conventions. It provides overviews of JavaScript basics like variables, operators, and functions, as well as more advanced topics like objects, events, and DOM manipulation.
The document discusses various topics related to computer graphics including basic geometric transformations, image transformations, segmentation, polygons, coordinate systems, and clipping. Basic transformations include translation, rotation, and scaling. Additional transformations are shear and reflection. Image transformations change attributes like size, position, and angle of rotation. Segmentation involves representing graphical objects as collections of segments with their own attributes stored in a segmentation table. Polygon types include convex and concave polygons. Coordinate systems include screen, world, and viewport. Clipping extracts portions of an image inside or outside a specified region.
This document contains questions about databases and networking concepts. It covers topics like database characteristics, roles, models, languages, and components. Regarding networks, it discusses transmission media, protocols, topologies, and applications like EDI and client/server computing. The questions are multiple choice designed to test understanding of fundamental database and networking concepts.
This document contains 95 multiple choice questions testing knowledge of various computing concepts. The questions cover topics such as networking, hardware, software, programming languages, databases, operating systems, and more. They range from basic to more advanced levels.
The document discusses the history of computer generations from first to fifth generation. It also summarizes the major components of a digital computer including the input, output, central processing unit, and storage units. The CPU contains the arithmetic logic unit, control unit, and memory unit. The document also differentiates between analog and digital signals.
DVLSI Guess paper for CDAC CCAT Jun- Jul 2013 Enterence examination prabhatjon
This document contains a 54 question multiple choice quiz on topics related to digital logic design and computer architecture. The questions cover topics such as 8-bit computers, flip-flops, MOS transistors, logic gates, digital circuits, CMOS logic families, and sequential circuits. The questions are multiple choice with one correct answer out of four possible choices for each question.
Generalized formula for Square Numbers in Hyper DimensionsKumaran K
Generalized Formula For Consecutive Square Number’sArithmetic Progression in Hyper Dimension or Multi Dimension
[Hyper Dimension or Multi Dimension = 2 Dimension, 3 Dimension, 4 Dimension…….Nth Dimension or infinite Dimension]
பல பரிமாணத்தில் அமைந்துள்ள இரண்டாம் அடுக்கு வர்க்க தொடர் எண்களின் கூட்டு தொடர...Kumaran K
பல பரிமாணத்தில் அமைந்துள்ள இரண்டாம் அடுக்கு வர்க்க தொடர் எண்களின் கூட்டு தொடர் காணும் பொதுவான சூத்திரம்
[இரண்டாம் பரிமாணம், மூன்றாம் பரிமாணம் , ...... ,பல பரிமாணம் அல்லது முடிவில்லா பரிமாணம்]
this is good question set for CCAT exam and alos for CCEE
for more details please visit
http://acts.cdac.in
http://cdacguru.wordpress.com
http://fb.com/cdacguru
This document contains 10 multiple choice questions about operating systems concepts like mutual exclusion, multiprocessing, multithreading, and threads. The questions cover topics such as resource sharing, producer-consumer problems, CPU scheduling, thread-specific data, and dual mode operation. The document provides the questions and possible multiple choice answers about key OS synchronization and concurrency concepts.
This document contains 27 multiple choice questions about object-oriented programming concepts in C++. The questions cover topics such as what makes a class abstract, class relationships like inheritance and polymorphism, access specifiers, static and virtual functions, operator overloading, and encapsulation. Additional resources on the topics are provided at the end of the document.
The document provides information about a 10th semester examination for a Bachelor of Engineering degree in Computer Systems Software. It contains 8 questions split into two parts (Part A and Part B). The questions cover topics related to computer systems software including operating systems, assembly language, macroprocessing, lexical analysis, and parsing. Students are instructed to answer 5 of the 8 questions by selecting at least 2 questions from each part. The document provides the exam details such as duration, maximum marks, and instructions for students.
The document contains multiple choice questions related to microprocessors and microcontrollers. It covers topics like 8085 architecture, 8051 architecture, 8051 registers and SFRs, addressing modes, 8086 assembly language instructions, and their operation. Some questions test understanding of interrupt priorities, I/O addressing, stack operations, arithmetic and logical instructions on 8-bit and 16-bit processors.
NETWORKING guess paper for CCAT examination of C-DAC for Jun Jul 2013
For more details please visit http://cdacguru.wordpress.com or http://facebook.com/cdacguru
The document describes a course on computer graphics. It provides an overview of the course, stating that it aims to teach students how to generate and render realistic 3D objects through techniques like modeling, animation and simulation. The course progresses from basic fundamentals to more complex topics. It also provides a strong foundation for students interested in image processing research. The document then provides unit-wise details of the topics that will be covered in the course, including introduction to graphics systems, 2D and 3D transformations, viewing, visible surface detection, and computer animation.
This document contains 50 multiple choice questions related to current events, geography, politics, sports and other topics. The questions cover information about various countries, international organizations, recent events and developments, and notable people from different fields.
IBPSEXAM provides sample questions from previous computer knowledge exams, including questions about:
- The basic functions of a computer as input, processing, output, and storage.
- Common computer terms like bits, bytes, RAM, ROM, and storage devices.
- Operating systems, software types, file extensions and properties.
- Networking protocols, security practices, and basic computer hardware.
The document provides 50 multiple choice questions to help students prepare for an exam on fundamental computer knowledge topics.
The document contains 30 multiple choice questions about computers and computer technology. It covers topics like computer generations, components, memory, storage, operating systems, networking, and other foundational computer concepts. The questions have a single correct answer in multiple choice format with explanations provided for each answer. The purpose is to test computer fundamentals knowledge.
CDAC CCAT examination important questionprabhatjon
This document contains 20 multiple choice questions related to computer science topics like data structures, algorithms, programming languages, and more. Some key points covered are:
- Inserting an element into a stack with a linked implementation has time complexity of O(1).
- Flowcharts, pseudocode, and decision tables can be used to represent algorithms pictorially.
- LISP was designed for artificial intelligence research.
- Time and memory requirements are primary factors for judging algorithm quality.
- The malloc() function is used for dynamic memory allocation and is available in the stdlib.h header file.
This document discusses computer graphics and various computer graphics concepts. It provides definitions and explanations of terms like scan conversion, rasterization, computer graphics, input devices, color displays, video controllers, frame buffers, transformations, lines, circles, fonts, clipping, projections, animation, and random/raster scan displays. It also includes examples of computer graphics concepts and algorithms like Bresenham's line drawing algorithm.
The document describes various types of computer display devices and their characteristics. It discusses raster and random scan displays, CRT monitors, color CRT technologies including beam penetration and shadow mask methods, and other display types such as direct view storage tubes. Input devices are also covered, including keyboards, mice, digitizers, and touch screens.
Computer Graphics is an advance field in information technology and all about manipulation and rendering of images. This presentation covers all the main concepts in computer graphics including graphics algorithms.
The document discusses various topics related to computer graphics and video display devices. It begins with definitions of key terms like scan conversion and rasterization. It then discusses properties of video display devices like persistence and resolution. Various input and output devices are mentioned along with color display techniques. Concepts related to CRTs like beam retrace and frame buffers are explained. The document also covers graphics transformations, projections, animation, and algorithms like Bresenham's line drawing and Cohen-Sutherland line clipping.
The document provides an overview of computer display systems, including monitors and graphics cards. It discusses cathode ray tube (CRT) monitors and how they work using electron guns and phosphor coatings. It also covers features of monitors like resolution, dot pitch, refresh rate, and screen size. Flat panel displays (FPDs) like liquid crystal displays (LCDs) are also introduced, along with different types of LCD technologies. The roles of the graphics card and monitor in the overall display system are explained.
This document summarizes computer graphics and display devices. It discusses that computer graphics involves displaying and manipulating images and data using a computer. A typical graphics system includes a host computer, display devices like monitors, and input devices like keyboards and mice. Common applications of computer graphics include GUIs, charts, CAD/CAM, maps, multimedia, and more. Display technologies discussed include CRT monitors, LCD panels, and other devices. Key aspects of CRT monitors like refresh rate, resolution, and bandwidth are also summarized.
The document provides an overview of computer graphics systems. It discusses different types of display devices including refresh cathode-ray tubes, raster-scan displays, random-scan displays, color CRT monitors, and flat panel displays. It also covers basics of raster graphics systems and random scan systems, including components like the video controller, display processor, and frame buffer. Input devices for graphics systems such as the keyboard, mouse, and digitizer are also mentioned.
This PPT gives detailed information about Computer Graphics, Raster Scan System, Random Scan System, CRT Display, Color CRT Monitors, Input and Output Devices
Model 1 multimedia graphics and animation introduction (1)Rahul Borate
Graphics controller
9 Refreshing of screen is
required.
Refreshing of screen is not required.
10 Suitable for TV, monitor. Suitable for CAD/CAM application,
scientific visualization.
The document summarizes key differences between vector scan and raster scan displays. Vector scan displays directly draw lines between points by moving the electron beam between endpoints, while raster scan displays sweep the beam across the entire screen in lines from top to bottom. Raster scan is more common as it does not flicker even with complex images and has lower cost and hardware requirements than vector scan. Both methods store images in a frame buffer but raster scan must convert graphics to pixels while vector scan does not.
presentation By Daroko blog-where IT learners Apply skills.
This topic an presentation will introduce you to Computer graphics hardware types.
---------------------------------
• Daroko blog (www.professionalbloggertricks.com)
• Presentation by Daroko blog, to see More tutorials more than this one here, Daroko blog has all tutorials related with IT course, simply visit the site by simply Entering the phrase Daroko blog (www.professionalbloggertricks.com) to search engines such as Google or yahoo!, learn some Blogging, affiliate marketing ,and ways of making Money with the computer graphic Applications(it is useless to learn all these tutorials when you can apply them as a student you know),also learn where you can apply all IT skills in a real Business Environment after learning Graphics another computer realate courses.ly
• Be practically real, not just academic reader
Do Not just learn computer graphics an close your computer tab and go away..
APPLY them in real business,
Visit Daroko blog for real IT skills applications,androind, Computer graphics,Networking,Programming,IT jobs Types, IT news and applications,blogging,Builing a website, IT companies and how you can form yours, Technology news and very many More IT related subject.
-simply google:Daroko blog(professionalbloggertricks.com)
A monitor is an output device that displays visual information from a computer. Early monitors used cathode ray tube (CRT) technology to display images through electron guns and phosphors, while modern monitors use flat panel displays like liquid crystal displays (LCD). A monitor receives signals from a computer's video card and only outputs visual information, making it an output-only device.
[/SUMMARY]
The document outlines the course objectives, outcomes, examination scheme, and units of a Computer Graphics course. The course aims to acquaint students with basic concepts, algorithms, and techniques of computer graphics through understanding, applying, and creating graphics using OpenGL. Students will learn about primitives, transformations, projections, lighting, shading, animation and gaming. The course assessment includes a mid-semester test, end-semester test, and covers topics ranging from graphics primitives to fractals and animation.
This document contains questions and answers about computer graphics. It begins by defining computer graphics as pictures and movies created using computers, usually referring to image data created with specialized graphics hardware and software. Applications of computer graphics mentioned include computer-aided design, presentation graphics, computer art, entertainment, education and training, visualization, image processing, and graphical user interfaces. Key terms like pixel, resolution, aspect ratio, and persistence are also defined. The document then discusses video display devices and CRTs, and explains raster scan and random scan display systems. Color CRTs using beam penetration and shadow mask techniques are also covered.
The document discusses computer graphics and is divided into several sections. It begins with an introduction to computer graphics and its applications such as display of information, design, simulation and animation, and user interfaces. It then describes the major hardware components of a graphics system including input devices, processing units, memory, and output devices. Finally, it discusses graphics software and programming interfaces that allow applications to interact with graphics hardware.
This document provides an introduction to computer graphics. It defines computer graphics as the creation, storage, and manipulation of pictures and drawings using digital computers. Computer graphics is used across diverse fields such as engineering, medicine, education, entertainment, and more. The document discusses basic terms related to display devices such as pixels, resolution, color depth, and frame buffers. It also describes different types of display devices including raster scan displays, random scan displays, direct view storage tubes, flat panel displays, and stereoscopic displays. Applications of computer graphics such as design, image processing, animation, simulation, and medical imaging are also summarized.
The document discusses various display devices used for visual presentation of information. It describes cathode ray tubes (CRT), which use electron guns and phosphorescent coatings to produce images. Raster scan displays refresh images by sweeping an electron beam across the screen in rows, while random scan displays draw individual lines. Liquid crystal displays (LCD) use polarized light passing through liquid crystals. Light emitting diodes (LED) also emit light when electrically biased and are used in displays and lighting due to their low energy use and long lifetime. The document provides details on the components and functioning of CRTs and explains the differences between raster and random scan displays.
Computer graphics refers to creating, manipulating, and displaying visual images and animations using computers. There are two main types: interactive and non-interactive. Computer graphics has many applications including graphical user interfaces, plotting graphs and charts, simulations, entertainment, CAD/CAM, medicine, history, art, and cartography. Raster and vector graphics are the two main types of computer graphics representations. Raster uses a grid of pixels while vector uses mathematical formulas to define shapes.
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Dr. Vinod Kumar Kanvaria
Exploiting Artificial Intelligence for Empowering Researchers and Faculty,
International FDP on Fundamentals of Research in Social Sciences
at Integral University, Lucknow, 06.06.2024
By Dr. Vinod Kumar Kanvaria
This presentation includes basic of PCOS their pathology and treatment and also Ayurveda correlation of PCOS and Ayurvedic line of treatment mentioned in classics.
A workshop hosted by the South African Journal of Science aimed at postgraduate students and early career researchers with little or no experience in writing and publishing journal articles.
How to Add Chatter in the odoo 17 ERP ModuleCeline George
In Odoo, the chatter is like a chat tool that helps you work together on records. You can leave notes and track things, making it easier to talk with your team and partners. Inside chatter, all communication history, activity, and changes will be displayed.
How to Fix the Import Error in the Odoo 17Celine George
An import error occurs when a program fails to import a module or library, disrupting its execution. In languages like Python, this issue arises when the specified module cannot be found or accessed, hindering the program's functionality. Resolving import errors is crucial for maintaining smooth software operation and uninterrupted development processes.
This presentation was provided by Steph Pollock of The American Psychological Association’s Journals Program, and Damita Snow, of The American Society of Civil Engineers (ASCE), for the initial session of NISO's 2024 Training Series "DEIA in the Scholarly Landscape." Session One: 'Setting Expectations: a DEIA Primer,' was held June 6, 2024.
Walmart Business+ and Spark Good for Nonprofits.pdfTechSoup
"Learn about all the ways Walmart supports nonprofit organizations.
You will hear from Liz Willett, the Head of Nonprofits, and hear about what Walmart is doing to help nonprofits, including Walmart Business and Spark Good. Walmart Business+ is a new offer for nonprofits that offers discounts and also streamlines nonprofits order and expense tracking, saving time and money.
The webinar may also give some examples on how nonprofits can best leverage Walmart Business+.
The event will cover the following::
Walmart Business + (https://business.walmart.com/plus) is a new shopping experience for nonprofits, schools, and local business customers that connects an exclusive online shopping experience to stores. Benefits include free delivery and shipping, a 'Spend Analytics” feature, special discounts, deals and tax-exempt shopping.
Special TechSoup offer for a free 180 days membership, and up to $150 in discounts on eligible orders.
Spark Good (walmart.com/sparkgood) is a charitable platform that enables nonprofits to receive donations directly from customers and associates.
Answers about how you can do more with Walmart!"
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...PECB
Denis is a dynamic and results-driven Chief Information Officer (CIO) with a distinguished career spanning information systems analysis and technical project management. With a proven track record of spearheading the design and delivery of cutting-edge Information Management solutions, he has consistently elevated business operations, streamlined reporting functions, and maximized process efficiency.
Certified as an ISO/IEC 27001: Information Security Management Systems (ISMS) Lead Implementer, Data Protection Officer, and Cyber Risks Analyst, Denis brings a heightened focus on data security, privacy, and cyber resilience to every endeavor.
His expertise extends across a diverse spectrum of reporting, database, and web development applications, underpinned by an exceptional grasp of data storage and virtualization technologies. His proficiency in application testing, database administration, and data cleansing ensures seamless execution of complex projects.
What sets Denis apart is his comprehensive understanding of Business and Systems Analysis technologies, honed through involvement in all phases of the Software Development Lifecycle (SDLC). From meticulous requirements gathering to precise analysis, innovative design, rigorous development, thorough testing, and successful implementation, he has consistently delivered exceptional results.
Throughout his career, he has taken on multifaceted roles, from leading technical project management teams to owning solutions that drive operational excellence. His conscientious and proactive approach is unwavering, whether he is working independently or collaboratively within a team. His ability to connect with colleagues on a personal level underscores his commitment to fostering a harmonious and productive workplace environment.
Date: May 29, 2024
Tags: Information Security, ISO/IEC 27001, ISO/IEC 42001, Artificial Intelligence, GDPR
-------------------------------------------------------------------------------
Find out more about ISO training and certification services
Training: ISO/IEC 27001 Information Security Management System - EN | PECB
ISO/IEC 42001 Artificial Intelligence Management System - EN | PECB
General Data Protection Regulation (GDPR) - Training Courses - EN | PECB
Webinars: https://pecb.com/webinars
Article: https://pecb.com/article
-------------------------------------------------------------------------------
For more information about PECB:
Website: https://pecb.com/
LinkedIn: https://www.linkedin.com/company/pecb/
Facebook: https://www.facebook.com/PECBInternational/
Slideshare: http://www.slideshare.net/PECBCERTIFICATION
it describes the bony anatomy including the femoral head , acetabulum, labrum . also discusses the capsule , ligaments . muscle that act on the hip joint and the range of motion are outlined. factors affecting hip joint stability and weight transmission through the joint are summarized.
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPRAHUL
This Dissertation explores the particular circumstances of Mirzapur, a region located in the
core of India. Mirzapur, with its varied terrains and abundant biodiversity, offers an optimal
environment for investigating the changes in vegetation cover dynamics. Our study utilizes
advanced technologies such as GIS (Geographic Information Systems) and Remote sensing to
analyze the transformations that have taken place over the course of a decade.
The complex relationship between human activities and the environment has been the focus
of extensive research and worry. As the global community grapples with swift urbanization,
population expansion, and economic progress, the effects on natural ecosystems are becoming
more evident. A crucial element of this impact is the alteration of vegetation cover, which plays a
significant role in maintaining the ecological equilibrium of our planet.Land serves as the foundation for all human activities and provides the necessary materials for
these activities. As the most crucial natural resource, its utilization by humans results in different
'Land uses,' which are determined by both human activities and the physical characteristics of the
land.
The utilization of land is impacted by human needs and environmental factors. In countries
like India, rapid population growth and the emphasis on extensive resource exploitation can lead
to significant land degradation, adversely affecting the region's land cover.
Therefore, human intervention has significantly influenced land use patterns over many
centuries, evolving its structure over time and space. In the present era, these changes have
accelerated due to factors such as agriculture and urbanization. Information regarding land use and
cover is essential for various planning and management tasks related to the Earth's surface,
providing crucial environmental data for scientific, resource management, policy purposes, and
diverse human activities.
Accurate understanding of land use and cover is imperative for the development planning
of any area. Consequently, a wide range of professionals, including earth system scientists, land
and water managers, and urban planners, are interested in obtaining data on land use and cover
changes, conversion trends, and other related patterns. The spatial dimensions of land use and
cover support policymakers and scientists in making well-informed decisions, as alterations in
these patterns indicate shifts in economic and social conditions. Monitoring such changes with the
help of Advanced technologies like Remote Sensing and Geographic Information Systems is
crucial for coordinated efforts across different administrative levels. Advanced technologies like
Remote Sensing and Geographic Information Systems
9
Changes in vegetation cover refer to variations in the distribution, composition, and overall
structure of plant communities across different temporal and spatial scales. These changes can
occur natural.
Liberal Approach to the Study of Indian Politics.pdf
Computer Graphics MCQ's
1. Important Question with Answer
Q1. What do you mean by computer graphics?
Ans. The branch of science and technology concerned with methods and techniques for converting data
to or from visual presentation using computers.
Q2.What are the applications of computer graphics?
Ans. 1. Computer Aided Design
2. Graphical User Interface
3. Entertainment
4. Simulation and Training
5. Education and Presentation
6. Computer Generated Art
7. Scientific Visualization
8. Image Processing
9. Virtual reality
10. Cartography
Q3.What do you mean by interactive computer Graphics?
Ans. Interactive computer Graphics like a website, it is only useful if it is browsed by a visitor and no
two visitors are exactly alike. It means the website must support the interaction of users with a variety
of skills, interests and end goals. Interactive computer graphics involves the user’s interaction.
Q4. What do you mean by GUI?
Ans. GUI stands for Graphical user interface. A major component of a GUI is a window manager that
allows a user to display multiple-window areas. To make a particular window active we simply click
in that window using an interactive pointing device. Interfaces also display menus and icons for fast
selection of processing options or parameter values.
Q5. What does it mean by RGB?
Ans. The RGB is a color model, it is an additive color model in which red, green, and blue light are
added together in various ways to reproduce a broad array of colors. The name of the model comes from
the initials of the three additive primary colors, red, green, and blue. The main purpose of the RGB
color model is for the sensing, representation, and display of images in electronic systems, such as
televisions and computers, though it has also been used in conventional photography.
2. Q6. Define VDU?
Ans. A monitor or display (sometimes called a visual display unit) is a piece of electrical equipment
which displays images generated by devices such as computers, without producing a permanent
record. The monitor comprises the display device, circuitry, and an enclosure. The display device in
modern monitors is typically a thin film transistor liquid crystal display (TFT-LCD), while
older monitors use a cathode ray tube (CRT).
Q7. Define persistence in terms of CRT Phosphorous.
Persistence is the one of the major property of phosphorous used in CRT’s. It means how long they
continue to emit light after the electron beam is removed.
Q8. Define resolution.
The maximum number of points that can be displayed without overlap on a CRT is referred to as the
resolution.
Q8. What do you mean by an aspect ratio?
Aspect ratio is a number which gives the ratio of vertical points to horizontal points necessary to
produce equal length lines in both directions on the screen. An aspect ratio of ¾ means that a
vertical line plotted with three points has same length as a horizontal line plotted with 4 points.
Q9.What are the different properties of phosphorus?
1. Color
2. Persistence
Q10. Differentiate raster and random scan displays.
Ans. In a raster scan displays the electron beam is swept across the screen, one row at a time from top to
bottom. Contrasting in random scan displays the electron beam is directed to the parts of the screen
where a picture is to be drawn.
Q11.Define refresh buffer/Frame buffer?
Picture definition is stored in a memory area called the refresh buffer or frame buffer. This memory
area holds the set of intensity values for all the screen points.
Q12. Define Pixel.
Ans. Each screen point is referred to as a pixel or pel.
3. Q13. Define bitmap.
Ans. On a black and white system with one bit per pixel, the frame buffer is commonly known as a
bitmap.
Q14. What do you mean by retracing? Define horizontal as well as vertical retracing.
Ans. At the end of each scan line, the electron beam returns to the left side of the screen to begin
displaying the next scan line. The return to the left of the screen, after refreshing each scan line is called
the horizontal retrace. And at the end of each frame, the electron beam returns to the top left corner of
the screen to begin the next frame is called the vertical retrace.
Q15.What do you mean by interlacing?
Ans. It is the method of incrementally displaying a visual on a CRT. On some raster scan systems, each
frame is displayed in two passes using an interlaced refresh procedure. In the first pass, the beam seeps
across every other scan line from top to bottom. Then after the vertical retrace, the beam sweeps out the
remaining scan lines.
Q16. What is a Beam penetration method?
Ans. This technique is used in random scan display systems. Two layers of phosphor (red and green)
are coated onto the inside of the CRT screen, the displayed colors depends on how far the electron beam
penetrates into the phosphors layers. A slow electron beam excites only the outer red layer. A very fast
electron beam penetrates trough the red layer and hence excites the green layer. An average electron
beam gives the combination of red and green color. That is yellow and orange. This technique only
provides four colors.
Q17. Define shadow masking.
This technique is used in raster scan display devices. It gives much wider range of colors than a beam
penetration method. A shadow Mask CRT has three phosphor color dots at each pixel location. One
phosphor dot emits a red light, another emits green light and the last one emits a blue light. This type of
CRT also has three electron guns one for each color dot. A shadow mask grid is installed just behind the
phosphor coated screen. The three electron beams are deflected and focused as a group onto the shadow
mask, which contains a series of very fine holes aligned with the phosphor dot patterns. When the three
beams pass through a hole in the shadow mask, they activate a dot triangle, which appears as a small
color spot on the screen .Different colors can be obtained by varying the intensity levels. More than 17
4. million different colors can be obtained in a full color system.
Q18. What are composite monitors?
Ans. Composite monitors are the adaptations of TV sets that allow bypass of the broadcast circuitry.
These display devices still require that the picture information be combined, but no carrier signal is
needed. Picture information is combined into a composite signal and then separated by the monitor, so
the resulting picture quality is still not the best attainable.
Q19. What are advantages of DVST over CRT? Also list some disadvantages of DVST.
Ans. Advantages:
i. No refreshing is needed.
ii. Very complex pictures can be displayed at very high resolution without
flicker. Disadvantages:
i. They ordinarily do not display color
ii. Selected part of the picture can not be erased
iii. The erasing and redrawing process can take several seconds for complex pictures.
Q20. Differentiate emissive and non emissive displays.
Ans. Emissive display displays are devices that convert electrical energy into light. Non-emissive
displays use optical effects to convert sunlight or light from some other source into graphics
patterns.
Q21. List some 3D viewing devices.
Ans. 1. Stereoscopic systems
2. Virtual reality systems
Q22. What is the role of a video controller?
Ans. It is the one of the component of an interactive raster scan system. It is used to control
the operation of the display device by accessing the frame buffer to refresh the screen.
Q23. Define Graphics controller /Display controller/Display processor.
Ans. The purpose of the display processor is to free the CPU from graphic chores. A major task of the
display processor is digitizing a picture definition given in an application program into a set of pixel
intensity values for storage in the frame buffer.
5. Q24. What do you mean by scan conversion?
Ans. A major task of the display processor is digitizing a picture definition given in an application
program into a set of pixel intensity values for storage in the frame buffer. This digitization process is
called scan conversion.
Q25. Explain the merits and demerits of Penetration techniques.
Ans. The merits and demerits of the Penetration techniques are as follows;
[1] It is an inexpensive technique
[2] It has only four colors
[3] The quality of the picture is not good when it is compared to other techniques
[4] It can display color scans in monitors
Q26. Explain the merits and demerits of DVST.
Ans. The merits and demerits of direct view storage tubes [DVST] are as follows;
[1] It has a flat screen
[2] Refreshing of screen is not required
[3] Selective or part erasing of screen is not possible
[4] It has poor contrast
[5] Performance is inferior to the refresh CRT.
Q27. Explain the merits and demerits of Plasma panel display.
ADVANTAGES:
[1] Refreshing is not required
[2] Produce a very steady image free of Flicker
[3] Less bulky than a CRT.
DISADVANTAGES:
[1] Poor resolution of up to 60 d.p.i
[2] It requires complex addressing and wiring
[3] It is costlier than CRT.
Q28.What is the difference between impact and non-impact printers?
Impact printers press formed character faces against an inked ribbon on to the paper.
A line printer and dot-matrix printer are examples.
6. Non-impact printer and plotters use Laser techniques, inkjet sprays, Xerographic process,
electrostatic methods and electro thermal methods to get images onto the papers.
Examples are: Inkjet/Laser printers.
Q29. What is the features of Inkjet printers?
Features:
a] They can print 2 to 4 pages/minutes.
b] Resolution is about 360d.p.i. Therefore better print quality is achieved.
c] The operating cost is very low. The only part that requires replacement is ink cartridge.
d] 4 colors cyane, yellow, majenta, black are available.
Q30.What are the advantages of laser printers?
Ans. 1] High speed, precision and economy.
2] Cheap to maintain.
3] Quality printers.
4] Lasts for longer time.
5] Toner power is very cheap.
Q31.What is the advantages of electrostatic plotters?
1] They are faster than pen plotters and very high quality printers. 2]
Recent electrostatic plotters include a scan-conversion capability.
3] Color electrostatic plotters are available. They make multiple passes over the paper to plot color
pictures.
Q32.Consider three different raster systems with resolutions of 640 x 480, 1280 x 1024, and 2560 x
2048.
a) What size is frame buffer (in bytes) for each of these systems to store 12 bits per pixel?
Ans. Because eight bits constitute a byte, frame-buffer sizes of the systems are as follows:
640 x 480 x 12 bits / 8 = 450KB;
1280 x 1024 x 12 bits / 8 = 1920KB;
2560 x 2048 x 12 bits / 8 = 7680KB;
b) How much storage (in bytes) is required for each system if 24 bits per pixel are to be stored?
Similarly, each of the above results is just doubled for 24 (12×2) bits of storage per pixel.
7. Q33.Consider two raster systems with the resolutions of 640 x 480 and 1280 x 1024.
a) How many pixels could be accessed per second in each of these systems by a display controller
that refreshes the screen at a rate of 60 frames per second?
Ans. Since 60 frames are refreshed per second and each frame consists of 640 x 480 pixels, the access
rate of such a system is (640 x 480) * 60 = 1.8432 x 107 pixels/second.
Likewise, for the 1280 x 1024 system, the access rate is (1280 x 1024) * 60 = 7.86432 x
107 pixels/second.
b) What is the access time per pixel in each system?
Ans. According to the definition of access rate, we know that the access time per pixel should be
1/(access rate). Therefore, the access time is around 54 nanoseconds/pixel for the 640 x 480 system,
and the access time is around 12.7 nanoseconds/pixel for the 1280×1024 system.
Q34. Consider a raster system with the resolution of 1024 x 768 pixels and the color palette
calls for 65,536 colors. What is the minimum amount of video RAM that the computer must
have to support the above-mentioned resolution and number of colors?
Ans. Recall that the color of each pixel on a display is represented with some number of bits. Hence,
a display capable of showing up to 256 colors is using 8 bits per pixels (i.e. “8-bit color”).
Notice first that the color palette calls for 65,536 colors. This number is but 216 , which implies that 16
bits are being used to represent the color of each pixel on the display. The display’s resolution is 1024
by 768 pixels, which implies that there is a total of 786,432 (1024 × 768) pixels on the display. Hence,
the total number of bits required to display any of 65,536 colors on each of the screen’s 786,432 pixels
is 12,582,912 (786,432 × 16). Dividing this value by 8 yields an answer of 1,572,864 bytes. Dividing
that value by 1,024 yields an answer of 1,536 KB. Dividing that value by 1,024 yields an answer of 1.5
MB.
Q35. Define resolution.
Ans. The maximum number of points that can be displayed without overlap on a CRT is referred to
as the resolution.
Q36. How Many k bytes does a frame buffer nees in a 600 x 400 pixel ?
Ans.
Given :- Resolution is 600 x 400
8. Suppose 1 pixel can store n bits
Then, the size of frame buffer = Resolution X bits per pixel
= (600 X 400) X n bits
= 240000 n bits
= 240000 n (as 1kb = 1024 bites)
1024 X 8
= 29.30 n k bytes
Q37. Find out the aspect ratio of the raster system using 8 x 10 inches screen and 100 pixel/inch.
Ans. We know that,
Aspect ratio = Width
Height
= 8 x 100 = 4 / 5
10 x 100
Aspect ratio = 4 : 5
Q38. How much time is spent scanning across each row of pixels during screen refresh on a
raster system with resolution of 1280 X 1024 and a refresh rate of 60 frames per second?
Ans: Here, resolution = 1280 X 1024
That means system contains 1024 scan lines and each scan line contains 128 pixels
refresh rate = 60 frame/sec.
So, 1 frame takes = 1/60 sec.
Since resolution = 1280 X 1024
1 frame buffer consist of 1024 scan lines
It means then 1024 scan lines takes 1/60 sec
Therefore, 1 scan line takes ,
1
Sec = 0.058 sec
60 X 1024
k bytes
9. Q 39. Suppose RGB raster system is to be designed using on 8 inch X 10 inch screen with a
resolution of 100 pixels per inch in each direction. If we want to store 6 bits per pixel in the
frame buffer, how much storage (in bytes) do we need for frame buffer?
Ans. Here, resolution = 8 inch X 10 inch
First, we convert it in pixel then
Now resolution = 8 X 100 by 10 X 100 pixel = 800 X 1000 pixel
1 pixel can store 6 bits
So, frame buffer size required = 800 X 100 X 6 bits
= 800 X 100 X 6
Bytes = 6 x 105
bytes.
8
Q.40. A unit square is transformed by 2 x 2 transformation matrix. The resulting position
vector are :-
0 2 8 6 , what is the transformation matrix?
0 3 4 1
Ans: Suppose the unit square have coordinates
(x , y)
(x+1, y)
(x+1, y+1)
(x , y+1)
and let the transformation matrix be a c
b d
So,
=
=
0 2 8 6
0 3 4 1
0 3 4 1
a c
b d
x x+1 x+1 x
y y y+1 y+1
0 3 4 1
0 3 4 1
ax+cy a(x+1)+cy a(x+1)+c(y+1) ax+c(y+1)
bx+by b(x+1)+dy b(x+1)+d(y+1) bx+d(y+1)
10. Now, ax+cy=0 and bx+cy=0
a(x+1)+cy=2 and b(x+1)+dy=3
a(x+1)+c(y+1)= 8 and b(x+1)+d(y+1) = 4
ax+c(y+1) = 6 and bx+d(y+1)=1
from this we get,
a=2, b=3, c=6, d=1
Thus, the transformation matrix is
Q41. a) Find the matrix that represents rotation of an object by 45o
about the origin.
b) What are the new coordinates of the point P(2 , -4) after the rotation?
Ans. SOLVE IT BY YOURSELF
Q42. A triangle is defined by
Find the transformed coordinates after the following transformation
(1) 90o
rotation about origin.
(2) Reflection about line y = -x.
Ans. SOLVE IT BY YOURSELF
Q43. Translate the square ABCD whose co-ordinate are A(0,0), b(3,0), C(3,3), D(0,3) by 2 units in
both direction and then scale it by 1.5 units in x direction and 0.5 units in y direction.
Q44. Perform a 45o
rotation of a triangle A(0,0, B(1,1), C(5,2)
1) About the origin.
2) About the point p(-1,-1)
Q45. Find the transformation matrix that transforms the square ABCD whose center is at (2,2)
is reduced to half of its size, with center still remaining at (2,2). The coordinate of square ABCD
are A(0,0), B(0,4), C(4,4) and D(4,0). Find the co-ordinate of new square.
Ans. (HINT:- After scaling the square to half of its size, the new translated square will have
center at (1,1) so, translate again the new square by (1,1), so that center again reach to (2,2).)
2 6
3 1
2 4 4
2 2 4
0 3 4
1
11. Q46. Consider the square A(1,0), B(0,0), C(0,1), D(1,1). Rotate the square ABCD by 45o
clockwise about A(1,0).
Ans . HINT:-
1) First, translate the square by Tx= -1 and Ty=0.
2) Then rotate the square by 45o.
3) Again translate the square by Tx=1 and Ty=0.
Q.47. Magnify the triangle with vertices A(0,0), B(1,1) and C(5,2) to twice its size while keeping
C(5,2) fixed.
Ans . HINT:-
1) First, translate the triangle by Tx= -5 and Ty=-2
2) Then Magnify the triangle by twice its size
3) Again translate the triangle by Tx= 5 and Ty= 2.
Q48. Prove that 2D rotation and scaling is commutative i.e R.S = S.R if
1.) Sx = Sy
2.) = n
Q49. Show that the 2 X 2 matrix
[T] =
represents pure rotation.
Ans. We know that for pure rotational transformation determinant of the transformation matrix
is always equal to 1.
So, the determinant of [T] =
= (1-t2
)2
4t2
+
(1+t2
)2
(1+t2
)2
= (1-t2
)2
+4t2
1-2t2
+t2
+4t2
(1+t2
)2
= = = 1
(1+t2
)2
(1+t2
)2
(1+t2
)2
1-t2
2t
1-t2
1 + t2
-2t 1-t2
1+t2
1+t2
1-t2
1 + t2
2
1-t2
1 + t2
2
1-t2
1 + t2
2t
1 + t2
12. Q 50. Prove that simultaneous shearing in both direction (X & y direction) is not equal to
the composition of pure shear along x-axis followed by pure shear along y-axis.
Ans:- We know the simultaneous shearing
Sh =
Shearing in x direction is and in y direction is . . Therefore,
shearing in x direction followed by y direction is
=
is not equal to Sh .
Q51. Prove that two 2D rotation above the origin commutative i.e R1R2=R2R1.
Ans :- Hint take R1 be the rotation by the angle and R2 be the rotation in same direction by
the angle α . First perform matrix for R1.R2 then R2.R1 and prove.
Q52. Prove that two scaling transformation are commutative i.e. S1.S2 = S2.S1
Ans. Hint take S1 = and S2 =
Then solve S1.S2 and then S2.S1 and prove .
1 a
b 1
1 a
0 1
1 0
b 1
1 a
0 1
1 0
b 1
1 + ab a
b 1
1
m 0 0
0 m 0
0 0 1
n 0 0
0 n 0
0 0 1
13. Q53. Use the Cohen Sutherland algorithm to clip line P1 (70,20) and p2(100,10) against a window
lower left hand corner (50,10) and upper right hand corner (80,40).
Ans:
Given , P1(70,20) and p2(100,10)
Window lower left corner = (50,10)
Window upper right corner = (80,40)
Now, we assign 4 bit binary outcode.
Point P1 is inside the window so the outcode of P1 = 0000 and the outcode for P2 = 0010.
Logical AND operation will give , 0000
0010
0000
Slope of the line P1P2 is m= y2 – y1 = 10 – 20 = -10 = -1
X2 – x1 100 - 70 30 3
We, have to find intersection of line P1 P2 with right edge of window i.e P2 (x,y).
Here x=80 , we have to find the value of y.
We use the point P2(x2,y2) = P2(100,10)
M = y – y2
x – x2
-1/3 = y – 10
80 – 100
y-10 = 20 / 3
y=16.66
thus, the intersection point P3 = (80, 16.66)
So, after clipping line P1P2 against the window, new line P1P3 with co ordinates P1(70, 20) and
P3 (80, 16.66)
P1 (70,20)
(80,10)
)
(80,40)
)
(50,40)
)
(50,10)
P2 (100,10)
(80,10)
)
(80,40)
)
(50,40)
)
(50,10)
P2 (100,10)
P1 (70,20)
P1 (70,20)
P3 (80,16.66)