ECSION RESEARCH LABS
C2E Consultancy Interview Questions and Answers
Q1. What is required field in sql how we write
Required field in SQL is a column that must contain a value before a record can be saved.
A required field is specified using the NOT NULL constraint in SQL.
Example: CREATE TABLE Students (ID INT NOT NULL, Name VARCHAR(50) NOT NULL);
Q2. What is resolution of mobile screen
The resolution of a mobile screen refers to the number of pixels in each dimension that can be displayed.
Resolution is typically expressed as width x height, such as 1920x1080 for Full HD.
Common mobile screen resolutions include 720x1280 (HD), 1080x1920 (Full HD), and 1440x2560 (Quad HD).
Higher resolution screens provide sharper images and text, but may consume more battery power.
Q3. A tag not having closing tag
An unclosed tag can cause rendering issues and break the structure of the webpage.
An unclosed tag can lead to unexpected behavior in the layout of the webpage.
It is important to always close HTML tags properly to ensure correct rendering.
Example:
Some content without closing tagExample:
Q4. What is media query.
Media query is a CSS technique used to apply different styles based on the characteristics of the device displaying the webpage.
Media queries are used in responsive web design to make websites adapt to different screen sizes and devices.
They are written using the @media rule in CSS.
Media queries can target various aspects such as screen width, height, orientation, and resolution.
Example: @media only screen and (max-width: 600px) { /* styles for screens up to 600px wide */ }
Q5. How we define html
HTML is a markup language used for creating the structure of web pages.
HTML stands for HyperText Markup Language
It uses tags to define the structure of content on a web page
Example:
This is a heading
Q6. What is attribute
An attribute is a characteristic or property of an HTML element that can be used to provide additional information or modify the element's behavior.
Attributes are used to define the behavior or appearance of an HTML element.
Attributes are always specified in the start tag of an element, inside the opening tag.
Examples of attributes include 'src' in the tag for specifying the image source, 'href' in the tag for specifying the link destination, and 'class' for applying CSS st...read more
Top Front end Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month