Showing posts with label difference. Show all posts
Showing posts with label difference. Show all posts

Friday, July 16, 2021

What is the Difference Between OMR and OCR?

 

What is the Difference Between OMR and OCR?

#OMR #OCR

The difference between OMR and OCR is that OMR is the abbreviation of optical mark recognition that is used to recognize the check and bubble marks on the paper; mostly exams and surveys, whereas OCR is optical character recognition that is used to recognize the characters from documents and collects and converts it into machine-coded language for editing it.

OMR – known as optical mark recognition, is a technology used to read marked human data. This process captures the data from documents like tests and surveys. It can deduct and read multiple choice papers, questionnaires, etc., with the help of the shaded and lined areas. OMR is also called optical mark reading. The sheets that are scanned by the OMR scanner are then processed by the OMR software. This method made grading in exams easier.

OCR- known as optical character recognition, is a technology that converts the images of any text document electronically into an encoded text in the machine. It is also known as an optical character reader. It is a method that digitizes printed texts and is a form of data entry for data records. This is done so that the data can be electronically edited and stored systematically. It can be used on any scanned documents, photo documents, billboards, text on signs, television broadcasts, etc.

Wednesday, November 22, 2017

What is sql injection ? ( top interview Question)

What is sql injection ?

SQL injection is a code injection technique that might destroy your database.
SQL injection is one of the most common web hacking techniques.
SQL injection is the placement of malicious code in SQL statements, via web page input.


What is the difference between primary key and unique key ?
Primary Key
Unique Key
Definition
Primary key is a type of a unique key. This is the key that is allowed to migrate to other entities to define the relationships that exist among the entities.
A unique key is a set of zero, one, or more attributes. The value(s) of these attributes are required to be unique for each tuple (row) in a relation. The value, or combination of values, of unique key attributes for any tuple should not be repeated for any other tuple in that relation.
Used in
Relational Database Management Systems such as MySQL, Oracle, etc.
Relational Database Management Systems such as MySQL, Oracle, etc.
Null Values
Does not accept any null values
Accepts only one null value in the table
Type of Index
Is a clustered index and data in the database table is physically organized in the sequence of clustered index           
Is a unique non-clustered index
Number of Keys allowed
Only one primary key in a table
Can have more than one unique key in a table
Convertible
Can be made into a foreign key into another table
Can be made into a foreign key into another table

What is the difference between char and varchar  ?
CHAR Data Type is a Fixed Length Data Type. For example if you declare a variable/column of CHAR (10) data type, then it will always take 10 bytes irrespective of whether you are storing 1 character or 10 character in this variable or column. And in this example as we have declared this variable/column as CHAR(10), so we can store max 10 characters in this column.
On the other hand VARCHAR is a variable length Data Type. For example if you declare a variable/column of VARCHAR (10) data type, it will take the no. of bytes equal to the number of characters stored in this column. So, in this variable/column if you are storing only one character then it will take only one byte and if we are storing 10 characters then it will take 10 bytes. And in this example as we have declared this variable/column as VARCHAR (10), so we can store max 10 characters in this column.
if you like our post you can contribute us by Click Here

How to Host a Laravel Project on Hostinger’s hPanel: A Step-by-Step Guide

How to Host a Laravel Project on Hostinger’s hPanel: A Step-by-Step Guide If you're looking to host a Laravel project on Hostinger’s hPa...