You are on page 1of 2

Solutions of previous year’s papers of IT.

(2014)

Java, Python, Lisp, Prolog, and C++ are major AI programming language used for artificial
intelligence capable of satisfying different needs in the development and designing of different
software.
LRU Algorithm: In operating systems that use paging for memory management, page
replacement algorithm are needed to decide which page needed to be replaced when new page
comes in. In Least Recently Used (LRU) algorithm is a Greedy algorithm where the page to be
replaced is least recently used.
A fork may refer to any of the following:
• In an operating system, a fork is UNIX or Linux system call to create a new process from
an existing running process. The new process is a child process of the calling parent process.
• In computer programming, a fork is when developers take the source code for an existing
project and use it to create new software based on the original code.
Supervisor State is only allowed to the operating system.
Different types of real data type in C is :- float, double, long double.
binary of 5.375 is 101.011
2 .375
(void*)0 is a NULL Pointer Representation in C.
NULL Macros is defined in stddef.h header file in C. 2 .750 0 0.00
In C to free the allocated memory use Free(var-name); 2 .50 1 0.250
malloc() and calloc() functions are in stdlib.h header file.
stderr is Standard Error Stream. 2 .0 1 0.125
Logical operators are :
&& AND operator
|| OR Operator
! NOT Operator
In switch-case statement, switch(expression), expression must be an integer, char, short, long.
Float and double are not allowed.
The keyword return is used to transfer control from a function back to the calling function.
User data, Meta Data and indexes are components of Database but reports are not.
Reserve keyword in JAVA
abstract class final int protected synchronized while
assert continue finally interface public this const
boolean default float long return throw goto
break do for native short throws
byte double if new static transient
case else implements null strictfp try
catch enum import package super void
char extends instanceof private switch volatile
The size of an IPv6 address is 128 bits.
Relation: also called two dimensional table.
Tuples:-Row in a table is called tuple.
Attributes: The column in a table called attribute.
extern int i; this is a referencing declaration. it is not a definition.
When we mention the prototype of a function, we are declaring it.
We use 3.14f to use as a float, by default it is a double.
A pointer is a variable whose value is the address of another variable.
What is the similarity between a structure, union and enumeration? All of them let you
define new data types.
Operator Meaning of operator
& Bitwise AND
| Bitwise OR
^ Bitwise XOR
~ Bitwise Complement
<< Shift left
>> Shift right
& bitwise operator is suitable for turning off a particular bit in a number.
| bitwise operator is suitable for turning on a particular bit in a number.
Rewind()sets the file position to the beginning of the file.
Any header file like #include<stdio.h> ,this code got replaced by its contents during
preprocessing.
fgets() is safe to use because it checks the array bound.
FORTH is a programming language which is much in vogue among users of micro computers.
The primary tool used in structured design is a Structure Chart.
In prototyping 4GLs(4th Generation languages) are used.
The touch command is a command line utility to update timestamps on files It is possible to
modify timestamps using the touch command either to update a timestamp to the current time
or to modify it to a date in the past.
ls is a Linux shell command that lists directory contents of files and directories
od command is used to display a file in octal form.
The command used to compare the files is cmp.
kill command is used to terminate a process.
Config.sys file have buffer statement.
A warm boot is when DOS is restarted without turning off the computer.
The command used to remove files in UNIX is called rm.
The rd and rmdir commands remove empty directories in MS-DOS.
To delete directories with files or directories within them, use the deltree command.
In AutoCAD the setting direction “straight down” would be measured as -90 or 270 degrees.
In AUTOCAD, A line with a tapering width can be easily created by using the Polyline tool.
UCS(user co-ordinate system) icon represent intersection of all three(X,Y,Z) axis.
When setting up a mechanical drawing in AutoCAD the drafter should set the units to Decimal.
When drawing a line using a relative coordinate system a line is created from The ending point
of last line.

You might also like