The conditional operators in C language are known by two more names Ternary Operator ?: Operator It is actually the if condition that we use in C language decision making, but using conditional operator, we turn the if condition statement into a short and simple operator. The syntax of a conditional operator is : expression […]
Example of Increment or Decrement Operator in C Language
Increment and decrement operators in C C language contains two unary operators referred to as increment (++) and decrement (–) operators. The two unary arithmetic operators in C Increment operator (++) Decrement operator (- -) The increment operator increments the variable by one and the decrement operator decrements the variable by one. These operators can […]
Calculate appropriate frame size for a set of tasks (6,1), (10,2), (18,2). || Easy way
Each of the periodic tasks is scheduled and executed according to a cyclic schedule. Choose appropriate frame size for a set of tasks Solutions: Pi,Ei Pi,Ei Pi,Ei Pi= Perodicity of task (6,1), (10,2), (18,2). […]
What is XML?
XML stands for EXtensible Markup Language XML is a markup language much like HTML XML was designed to carry data, not to display data XML tags are not predefined. You must define your own tags XML is designed to be self-descriptive XML is a W3C Recommendation XML is not a replacement for HTML. XML and […]
Create ontology of African Wildlife || Semantic Web
Create an ontology of African Wildlife || Semantic Web
A 3*3 size image has following intensity information
A 3*3 size image has the following intensity information 4 5 2 8 3 1 6 7 9 Change this image in-to a 9*9 size image using zooming by replacement method Solution Row operation 4 4 4 5 5 5 2 2 2 8 8 8 3 3 3 1 1 1 6 6 6 […]
Given the following gray level histogram of an image. Compute the gray levels after histogram equalization.
Given the following gray level histogram of an image. Compute the gray levels after histogram equalization. Gray Level 0 1 2 3 4 5 6 7 Frequency 200 500 40 600 800 60 1800 1000 SOLUTION Gray Value Frequency(n) Probability (n/sum n) Cumulative (sr) Sr*(L-1) Round Off 0 200 0.04 0.04 0.04*(8-1) =0.28 0 1 […]
How Many Image of Size 1200*800 with 8 bit gray value can be stored in 64 MB Storage space?
Question: How Many Images of Size 1200*800 with 8-bit gray value can be stored in 64 MB Storage space? Solutions Gray Level =8 bits 2m 23 The number of bits necessary to store the image is bits = N*M*m =1200*800*3 =2880000 bits Converts bits into MB 2880000/1024*1024*8 = 0.03337 MB So if we have 64 […]
Best Practices and Mistakes to Avoid
At first glance, tracking employee time seems pretty straightforward. Your employees simply denote the hours they were at work on a timesheet, or punch a time clock and turn their time cards in at the end of the week or month. What could go wrong? As it turns out, a lot. The ability to accurately […]