Semester

Semester Sample Que.

SEMESTER EXAMINATION-2025 NOTICE

            It is hereby inform to the entire student that the SEMESTER EXAMINATION FORM FILL-UP will be held as per below scheduled. The exam Date will be confirmed on your Admit Card.

 

        The eligible students need to clear their outstanding Due Amounts on or before 2nd June, 2025 for Applying Semester Examination.
Form Fillup Date: 02/06/2025
Download Admit Card on: 04/06/2025

Steps of Online Exam Application

  1. Open softinfosys.co.in.
  2. Select LOGIN
  3. Enter you Roll No. and Password
  4. Choose Exam and then Exam Application
  5. Mark your Exam Papers and Submit
  6. Now Download and print the Receip

For Soft Infosys  Computer  Erudite

.

Semester-2 (Sample Questions)

Web Technologies (HTML & CSS) - PG201

Web Technologies (HTML & CSS)

Course Code: PG201

Practical Focus
  1. HTML Body Attributes
  2. Heading Tags
  3. Image
  4. Creating Table
  5. Making Ordered List and Unordered List
MCQ Questions
# Question Option A Option B Option C Option D Correct
1 Which property is used to create rounded borders? border-curve border-style border-radius border-round C
2 Which property controls element width? size width scale height B
3 Which position value places element relative to browser window? absolute relative fixed static C
4 Which property defines element position? float display position align C
5 Which selector combines multiple selectors? Universal Group Attribute Child B
6 Which CSS is best for website-wide design? Inline Internal External Embedded C
7 Which property removes bullet points? list-style: none list-style: 0 list-type: no bullet: none A
8 Which property controls list style? list-type list-style list-design list-format B
9 Which selector is best for multiple elements? ID Universal Class Attribute C
10 Which selector is best for unique elements? Class ID Group Universal B
11 Which tag is used to apply inline styles? <style> <css> <link> Any HTML tag with style attribute D
12 Which CSS property adds shadow to text? shadow text-shadow box-shadow font-shadow B
13 Which property makes text bold? font-style font-weight text-decoration font-variant B
14 Which property sets font family? font-type font-family font-style font-name B
15 Which property controls spacing between letters? letter-spacing word-spacing text-indent line-height A
16 Which property controls distance between lines? letter-spacing word-spacing line-height text-align C
17 Which property underlines text? text-transform text-decoration font-style font-weight B
18 Which property aligns text? text-align align-text font-align text-position A
19 Which property controls space inside border? padding margin border align A
20 Which property controls space outside border? padding margin border spacing B
21 Which shorthand is correct for border? border: style width color border: color width style border: width style color border: style color width C
22 Which border style hides the border? none hidden ridge groove B
23 Which border style creates dotted border? dashed solid dotted double C
24 Which property sets border style? border-type border-style border-shape border-design B
25 Which shorthand combines all background properties? background bg back image A
26 Which property adds blur effect? opacity filter transform resize B
27 Which value stretches image to cover entire container? auto contain cover repeat C
28 Which property controls background size? background-resize background-scale background-size size C
29 Which value makes background fixed on screen? local scroll fixed relative C
30 Which property sets background position? background-align position background-position align C
31 Default behavior of background image is: No repeat Repeat horizontally Repeat vertically Repeat both directions D
32 Which property controls background repetition? repeat background-repeat bg-repeat image-repeat B
33 Which property sets background image? image background-image img src B
34 Which property sets background color? color bgcolor background-color back-color C
35 Which selector selects elements with a specific attribute? Attribute selector Class selector Group selector ID selector A
36 Which selector selects immediate sibling? Child Descendant Adjacent sibling Universal C
37 Which selector selects direct children? Child selector Adjacent selector Group selector Attribute selector A
38 Which selector selects elements inside another element? Group Descendant ID Universal B
39 Which selector selects elements with same style rules? Universal Group Sub ID B
40 Which selector selects elements by tag name? Attribute ID Tag Class C
41 Which selector uses dot (.) symbol? Tag ID Class Universal C
42 Which selector uses # symbol? Class ID Universal Group B
43 Universal selector symbol is: # . * & C
44 Which selector selects all elements? Universal ID Class Group A
45 Which tag is used to link external CSS? <script> <meta> <link> <style> C
46 Which attribute links an external CSS file? SRC HREF TYPE REL B
47 External CSS file has which extension? .html .css .xml .js B
48 Internal CSS is written inside which tag? <body> <style> <link> <meta> B
49 Which CSS type is written inside an HTML element? External Embedded Inline Linked C
50 Which of the following is NOT an advantage of CSS? Global changes Easy maintenance Saves time Increases page loading time D

JAVA

Java Standard Edition is used for server side programming.

A) True

B) False

 

Java Application & Java Applets are same.

A) True

B) False 

The class name may not same with the java file name.

A) True

B) False

 Java is an object oriented programming language.

A) True

B) False

Jump statements are the statements that transfer control from one part of the program to another part.

A) True

B) False

 One of the important purposes of break statement is to exit from switch statement.

A) True

B) False

Non-primitive data types are derived from primitive data types.

A) True

B) False

 

For writing code in BlueJ editor we have to create a Project folder first.

A) True

B) False

 

Can we keep a different name for the java class name and java file name

A) True

B) False

 

What makes the Java platform independent?

A) Advanced programming language

B) It uses bytecode for execution

C) Class compilation

D) All of these

Which class in Java is used to take input from the user?

A) Scanner

B) Input

C) Applier

D) None of these

Method used to take a string as input in Java?

A) next()

B) nextLine()

C) Both A. and B.

D) None of these

  

Java is a high level programming language like _______

A) Basic

B) COBOL

C) C++

D) All of the above

IDE stands for:

A) Integration Development Environment

B) Integrated Development Environment

C) Internal Data Environment

D) None of these

Which is a java IDE?

A) Eclips

B) BlueJ

C) InteliJ IDEA

D) All of the above

The old name of java is :

A) C

B) OAK

C) JV

D) None of these

The important concepts of OOPs

A) Class

B) Methods

C) Objects

D) All of the above

Which of the following is a valid data types in Java?

A) Integer

B) Characters

C) Floating

D) All of these

+ is __________ operator.

A) Arithmetical

B) Bitwise

C) Logical

D) None of these

What is the size of float and double in java?

A) 32 and 64

B) 32 and 32

C) 64 and 32

D) 64 and 64

Decrement operator, ??, decreases the value of variable by what number?

A) 1

B) 2

C) 3

D) 4

What is the value stored in x in the following lines of Java code? int x, y, z; x = 0; y = 1; x = y = z = 8;

A) 0

B) 1

C) 9

D) 8

What will be the output of the following Java code? class operators {public static void main(String args[]){ int var1 = 5; int var2 = 6; int var3; var3 = (var2 * var1)/10;System.out.print(var3); } }

A) 6

B) 5

C) 30

D) 3

What will be the output of the following Java code?class Output { public static void main(String args[]){ int x=y=z=20;} }

A) compile and runs fine

B) run time error

C) 20

D) Compile time error

The 1st step of java programming is _______

A) Write the Java code

B) Create java file

C) Create the .class file

D) None of these

____ is the extension name of a Bytecode file.

A) . class

B) .java

C) .byte

D) .code

_________ is used to write the java codes.

A) DOS

B) MS word

C) BlueJ

D) All of these

______ is used to compile & Run the Java Program.

A) IDE

B) API

C) JVM

D) java

public static ________main.

A) String

B) void

C) Void

D) string

A___ describes all the properties of an object.

A) Class

B) object

C) program

D) java

Java is derived from______.

A) C

B) C++

C) .net

D) class

Which is used to develop a server side programs.

A) Java SE

B) Java EE

C) Java ME

D) None of these

The mechanism that binds together code and the data it manipulates, and keeps both safe from outside interference.

A) Encapsulation

B) Object

C) Inheritance

D) Polymorphism

Which is key word in java?

A) while

B) int

C) static

D) All of these

Data types in java

A) int

B) float

C) char

D) All of these

What will be the output of the following programming code. public class rudra5{ public static void main(String args[]){ int a=20; int b=30; a=a+b; b=a-b; a=a-b; System.out.print(a); System.out.print(b);}}

A) 20 30

B) 30 20

C) 20 20

D) 30 30

A _______ statement allows us to execute a statement or group of statements multiple times.

A) Array

B) Function

C) loop

D) exception

Which loop guaranteed to execute at least one time?

A) for

B) do-while

C) while

D) All of the above

A ________ provides us with named storage that our programs can manipulate.

A) data type

B) constants

C) operators

D) variable

Choose a valid loop name in Java below.

A) For

B) While

C) Do-while

D) All of the above

To declare more than one variable of the specified type, we can use a __________ list.

A) colon-separated

B) bracket-separated

C) comma-separated

D) None of the above

How many kinds of variables in Java?

A) 2

B) 3

C) 4

D) 5

Which of the following is an Example of variable initialization?

A) int a, b, c;

B) int a = 10, b = 10;

C) int 10 = a;

D) None of the above

Which of the following is not a keyword in Java.

A) assert

B) boolean

C) abstract

D) finalize

Java was designed by ________.

A) Microsoft

B) Mozilla Corporation

C) Sun Microsystems

D) Amazon Inc.

1st Semester Sample Question