Basic Computer Languages Questions Answers For SBI PO SSC Exams
Computer Languages Question Answers For SBI SSC Exams
Computer Languages Question Answer For SBI SSC Exams—Hello All friends welcome you in our capsules series hope you get some help for your upcoming exams.We shared last time our post name as Computer Questions For Competitive Exams PDF Download and Questions Asked IBPS PO RRB Clerk Mains Exam Read Now.In this post, we will be going to share Computer Languages Question Answers For SBI PO SSC Exams.Basic Computer Questions And Answers PDF
Let’s Start Basic Computer Languages Questions Answers For SBI PO SSC Exams
basic computer questions and answers pdf
Low-level language: these are coded in a form which is easy to understand by the processor.
Machine language: it is also a type of low-level language these can be developed in binary language (0 and 1).
Assembly language: it is also a type of low-level language and using the human readable instruction of the CPU. It is written as ‘MOV A.’
High-level language programmer can write code in the simple easy language, it is user-friendly. E.g. C, JAVA
C language: it is a middle-level programming language and also known as procedural language
C++ is high-level language that uses the OOPS concept.
Fortran: it is known as formula translation. It is used for scientific application
COBOL (Common Business Oriented Language ): used for record keeping and data management in business organizations.
BASIC (Beginner’s All-Purpose Symbolic Instruction Code): first language designed for non-professional programmers.
PASCAL: it is developed as a teaching tool for programming concepts.
Simula was the first object-oriented programming language. Java, Python, C++, Visual Basic.NET and Ruby are the most popular Object Oriented Programming languages. The Java programming language is designed especially for use in distributed applications on corporate networks and
the Internet. Ruby is used in many Web applications. Curl, Smalltalk, Delphi, and Eiffel are also examples of object- oriented programming languages.
Language processor (Translator): Programmers write their program in one of the high-level languages because it is much easy to code in this language but a computer does not understand any of these language so it is necessary to convert the program into a machine language so translator does this work.
Loader: It loads the code which is translated by translator into the main memory and makes it ready to execute.
The linker is used to combining all the object files and convert them into a final executable program.
The interpreter converts high-level language program into machine language. It is very slow because it converts program line by line.
Compiler: It also translates the program from high level language to machine language. It is very fast because it converts the whole program into machine language.
Assembler: It is used for converting the code of low-level language (assembly language) into machine level language.
A group of 4 bits is called a nibble. A byte is also known as an Octet.Basic Computer Languages Questions Answers
Primary Storage (memory), also known as the main storage and it is the area in a computer in which data is stored for quick access by the computer’s processor. The terms random
access memory (RAM) and memory are often as synonyms
for primary or main storage. Primary storage is volatile and can be contrasted with non-volatile secondary storage, also known as auxiliary storage.
Cache memory is a smaller, faster memory which stores copies of the data from frequently used main memory locations. A CPU cache is a hardware cache used by the central processing unit (CPU) of a computer to reduce the average time to access data from the main memory. Secondary memory is where programs and data are kept on a long-term basis. Common secondary storage devices are the hard disk and optical disks. The hard disk has enormous storage capacity compared to main memory. The hard disk is usually contained inside the case of a computer.
Read-only memory (ROM) is a storage medium used in computers and other electronic devices. Data stored in ROM can only be modified slowly or with difficulty, or not at all.
ROM is non-volatile and the contents are retained even after the power is switched off.
It only allows reading.
The types of ROM include PROM, EPROM, and EEPROM. PROM – (programmable read-only memory) is a memory chip on which data can be written only once.
The difference between a PROM and a ROM (read-only memory) is that a PROM is manufactured as blank memory, whereas a ROM is programmed during the manufacturing process. To write data onto a PROM chip, you need a special device called a PROM programmer or PROM burner.
EPROM – (erasable programmable read-only memory) is a special type of PROM that can be erased by exposing it to ultraviolet light.
EEPROM – (electrically erasable programmable read-only
memory). EEPROM is a special type of PROM that can be erased by exposing it to an electrical charge.
Random Access Memory (RAM), allows the computer to store data for immediate manipulation and to keep track of what is currently being processed.
RAM is referred to as volatile memory and is lost when the power is turned off.
It also is known as reading/write memory as information can be read from and written onto it.
The two main types of RAM are Static RAM and Dynamic RAM.
SRAM retains data as long as power is provided to the memory chip and need not be refreshed periodically. It is often used as CPU Cache memory. SRAM stands for Static Random Access Memory.
The data on DRAM continues to move in and out of the memory as long as power is available and must be continually refreshed to maintain the data. DRAM stands for Dynamic Random Access Memory.
Virtual memory is the memory on the hard disk that the CPU uses as an extended RAM.Basic Computer Languages Questions Answers
Memory can also be categorized on the basis of their material:
Semiconductor memory: –such as RAM, ROM, EPROM, and flash memory.
Magnetic memory: –such as hard disk, floppy disk , and magnetic tapes.
Optical memory: –such as computer disk, DVD, and blue-ray disk.
A bus, in computing, is a set of physical connections (cables, printed circuits, etc.) which can be shared by multiple hardware components in order to communicate with one another.
The address bus (sometimes called the memory bus) transports memory addresses which the processor wants to access in order to read or write data. It is a unidirectional bus.
The data bus transfers instructions coming from or going to the processor. It is a bidirectional bus.
The control bus (or command bus) transports orders and synchronization signals coming from the control unit and traveling to all other hardware components. It is a bi-directional bus, as it also transmits response signals from the hardware.
Number System Computer Languages Question Answers For SBI SSC Exams
computer questions and answers
The radix or base is the number of unique digits, including zero, used to represent numbers in a positional numeral system. For example, for the decimal system, the radix is ten because it uses the ten digits from 0 through 9. And that of Binary is base 2.
|Decimal, Binary, Octal and Hexadecimal|
|Decimal Binary Octal Hexadecimal|
|0 0000 000 0|
|1 0001 001 1|
|2 0010 002 2|
|3 0011 003 3|
|4 0100 004 4|
|5 0101 005 5|
|6 0110 006 6|
|7 0111 007 7|
|8 1000 010 8|
|9 1001 011 9|
|10 1010 012 A|
|11 1011 013 B|
|12 1100 014 C|
|13 1101 015 D|
|14 1110 016 E|
|15 1111 017 F|
Hexadecimal to Binary: Refer the above table for the conversion process
(1A2)16 = (?)2
1=0001, A= 1010, 2=0010; Hence (1A2)16 = (000110100010)2
Decimal to Binary: (75)10 =(?)2
Divide 75 by 2 (and write down its remainder).
Basic Computer Languages Questions Answers
Sum of all (Digit × (Base)Base’s Place)
Example: (1A2)16 = (?)10 (From the table you can refer A is equivalent to 10)
((1× 162)+(10 × 161)+ (2×160))= 256+160+2=418
((1×25)+ (1×24)+ (0×23)+ (1×22)+ (1×21)+
(0×20))=32+16+4+2= 54; (110110)2=(54)10
Octal to Binary: (345)8 Hence (75)10 =(101011)2
Any number system =(?)2 (Write down 3 bit binary equivalents of all digits)
3=011, 4=100, 5=101; Hence (345)8 =(011100101)2
Octal to Hexadecimal: Convert to Binary first and then
group 4 bits to get hexadecimal number. Example: (345)8
=(?)16 =>(345)8 =(011100101)2 = 0000 1110 0101 =(0E5)16