Upload
satishmunna
View
216
Download
1
Embed Size (px)
DESCRIPTION
ok
Citation preview
Fundamentals of Programming Language-I 1-1
UNIT-I
Q.1 Who designed the first electronics computer – ENIAC?
A Van-NeumannB Joseph M. JacquardC J. Presper Eckert and John W MauchlyD All of above
Ans C
Q. 2 The brain of computer isA ALUB MemoryC CPUD Control Unit
Ans C
Q. 3 Which standard code is used to process keystroke on keyboard
A ANSIB ASCIIC Binary codeD IEEE
Ans B
Q.4 Personal computers use a number of chips mounted on a main circuit board. What is the common name for such boards?
A Daughter boardB MotherboardC Father boardD Breadboard
Ans C
Q. 5 Which of the following is valid storage type?A ALUB MouseC Floppy driveD CPU
Ans C
Q. 6 The section of CPU responsible for performing the mathematical operations
A MemoryB RegistersC Control unitD ALU
Ans D
Q. 7 Sequence of instructions is known asA SoftwareB ProgramC ProjectD none of the above
Ans B
Q. 8 Source code is available in _________ software
A Pirated software
B Closed sourceC Open sourceD Licensed
Ans C
Q. 9 Which is not the input deviceA StylusB MouseC PrinterD Touch screen monitor
Ans C
Q. 10 MS word is example of _______ softwareA Open sourceB Closed sourceC System softwareD all of these
Ans B
Q. 11 Software required to run the hardware is known is
A Application softwareB device driversC open source softwareD none of the above
Ans B
Q. 12 Which is the application softwareA PaintB Game applicationC WordD all of these
Ans D
Q. 13 Which is the system softwareA CompilerB device driversC Operating systemD all of these
Ans D
Q. 14 Which is system softwareA LinuxB UnixC WindowsD All of these
Ans D
Q. 15 Which is open source softwareA LinuxB MAC OSC WindowsD MS-Word
Ans A
Q.16 LATEX is A Document markup languageB Hypertext markup languageC Extensible markup languageD None of the above
Ans A
Fundamentals of Programming Language-I 1-2
Q. 17 Which is primary memoryA CacheB RAMC RegistersD all of these
Ans D
Q. 18 Which is example of secondary memoryA Hard diskB Pen driveC Floppy driveD all of these
Ans D
Q. 19 Which is example of secondary memoryA Memory cardB CacheC RAMD Registers
Ans A
Q. 20 Which is not part of computerA Input deviceB output devicesC peripheral devicesD stepper motor
Ans D
Q. 21 CPU consists ofA ALU+CUB ROM+ALUC RAM+ROMD none of the above
Ans A
Q. 22 _______is volatile memoryA ROMB EPROMC RAMD Hard disk
Ans C
Q. 23 ______ is non volatile memoryA Hard diskB RAMC CacheD Registers
Ans A
Q. 24 Which is memory measurement unitA TBB MBC KBD all of these
Ans D
Q. 25 1024GB isA 1 BB 1TBC 1EB
D 1 KBAns B
Q. 26 Hardware can work without device driverA TRUEB FALSECD
Ans B
Q. 27 Which is not OSA UnixB LinuxC WindowsD Microsoft
Ans DQ. 28 Tally is_______ software
A Open sourceB Closed sourceC pirated softwareD system software
Ans B
Q. 29 VLSI is used in __________ generation computer
A FirstB SecondC ThirdD Fourth
Ans D
Q. 30 __________ executes the instructionsA CPUB memoryC hard diskD Scanner
Ans A
Q. 31 Software isA set of instructionsB set of programC set of numbersD none of the above
Ans B
Q. 32 Which unit controls the operation of CPUA ALUB RAMC CUD BU
Ans C
Q. 33 Source code is available in _________ software
A Open sourceB Bharat OSC Linux OSD all of these
Ans D
Fundamentals of Programming Language-I 1-3
Q. 34 Bash is theA ShellB CompilerC AssemblerD Interpreter
Ans A
Q. 35 BOSS is developed byA NASAB C-DACC NASDAQD NASSCOM
Ans B
Q. 36 BOSS is developed overA MandrakeB SUSEC FedoraD Debian
Ans D
Q. 37 Andriod is A desktop OSA TRUEB FALSECD
Ans B
Q. 38 Mozilla firefox isA BrowserB EditorC CompilerD Assembler
Ans A
Q. 39 Google chrome isA BrowserB EditorC CompilerD Assembler
Ans A
Q. 40 Windows OS is closed sourceA TRUEB FALSECD
Ans A
Q. 41 .net isA closed sourceB open sourceC System softwareD none of the above
Ans A
Q. 42 Which command gives list of users in Unix/Linux
A WhoamiB LsC Who
D PsAns C
Q. 43 OSF stands forA OS factoryB open software foundationC open system foundationD none of the above
Ans B
Q. 44 Internet explorer comes along withA LinuxB AndroidC MAXD Windows
Ans D
Q. 45 Which browser comes with Linux be defaultA Mozilla firefoxB IEC OperaD all of these
Ans A
Q. 46 BOSS is developed inA USAB UKC IndiaD China
Ans C
Q. 47 PHP is open sourceA TRUEB FALSECD
Ans A
Q. 48 Ubuntu is Windows basedA TRUEB FALSECD
Ans B
Q. 49 __________ is HTTP web serverA LuceneB FedoraC PerlD Apache
Ans D
Q. 50 Symbian is closed sourceA TRUEB FALSECD
Ans A
Q. 51 Shell is exclusive feature ofA Unix
Fundamentals of Programming Language-I 1-4
B DOSC System softwareD Application software
Ans A
Q. 52 Operating system isA HardwareB software which manages resources of A
systemC software which performs computationD none of the above
Ans B
Q. 53 A system call is A method by which A program makes A request to the
A input managementB output managementC interrupt processingD operating system
Ans D
Q. 54 User need to pay for open source softwareA TRUEB FALSECD
Ans B
Q. 55 CLI stands forA command line interfaceB command line interpreterC common language interpreterD none of the above
Ans A
Q. 56 Which of the following is not directory commnad
A CdB MvC RmdirD Who
Ans D
Q. 57 Eclipse is an IDE developed inA CB C++C JavaD Python
Ans C
Q. 58 IDE Consists ofA source code editorB automation tool builderC interpreter or debuggerD all of these
Ans D
Q. 59 CDT in eclipse is environment for java developer
A TRUEB FALSE
CD
Ans B
Q. 60 Eclipse is anA compilerB debuggerC IDED interpreter
Ans C
Q. 61 Source code for python is freely availableA TRUEB FALSECD
Ans A
Q. 62 Eclipse is open sourceA TRUEB FALSECD
Ans A
Q. 63 Eclipse support programming in PHPA TRUEB FALSECD
Ans A
Q. 64 Eclipse support programming in RubyA TRUEB FALSECD
Ans A
Q. 65 Which is High level languageA CB C++C JavaD Assembly level langauge
Ans C
Q. 66 C++ programming language is very popular because it is
A backward compatible with CB Object orinentedC Widely availableD all of these
Ans B
Q. 67 Java and Perl are examples of _______ languages
A compiledB interpretedC hybridD script
Ans C
Fundamentals of Programming Language-I 1-5
Q. 68 Which is the newest languageA CB FortranC LispD Simula
Ans A
Q. 69 Which is the oldest languageA PerlB PHPC PythonD Ruby
Ans A
Q. 70 An assembly language isA low level programming languageB mid level languageC high level languageD scripting language
Ans A
Q. 71 Assembler isA used to convert assembly program to machine
codeB used to convert high level langague to
machine langaugeC used to convert scripting lanaguage to
machine codeD none of the above
Ans A
Q. 72 Translator for assembly level language isA AssemblerB CompilerC InterpreterD Debugger
Ans A
Q. 73 C program is converted to machine code using
A AssemblerB CompilerC InterpreterD Debugger
Ans B
Q. 74 Documentation is comulsory in programmingA TRUEB FALSECD
Ans B
Q. 75 Which is the scripting languageA JavaB ASPC .netD Javascript
Ans D
Q. 76 Which language is directly understood by computer
A NaturalB MachineC high level languageD scripting language
Ans B
Q. 77 Processor processes how many instructions at A time
A manyB depend upon processorC 1D may vary
Ans C
Q. 78 Speed of processor is measured usingA GBB KiloC time/secD Hz
Ans D
Q. 79 Data transfer is possible withA address busB data busC Control busD none of the above
Ans B
Q. 80 Bus is nothing but collection of wiresA TRUEB FALSECD
Ans A
Q. 81 Which is file creation commandA CatB LsC PsD Mkdir
Ans A
Q. 82 Which is file creation commandA RmB TouchC PsD Mkdir
Ans B
Q. 83 Which is directory creation commandA CatB TouchC MkdirD Rmdir
Ans C
Q. 84 How to check the current userA WhoB Whoami
Fundamentals of Programming Language-I 1-6
C CatD Touch
Ans B
Q. 85 How to check the current directoryA PwdB WhoamiC WhoD Ls
Ans A
Q. 86 Pipe operator is used toA connect two commandsB to redirect outputC display fileD display file contents
Ans A
Q. 87 Redirection operator is used forA connect two commandsB to redirect outputC display fileD display file contents
Ans B
Q. 88 _______ is pipe operatorA /B \C |D >
Ans C
Q. 89 _______ is redirection operatorA /B \C |D >
Ans D
Q. 90 ________ is root in Unix/LinuxA /B \C |D >
Ans A
Q. 91 Notepad is text editorA TRUEB FALSECD
Ans A
Q. 92 LATEX is software for ____.A DocumentationB TypingC Letter TypingD Technical Documentation
Ans D
Q. 93 ls is windows command
A TRUEB FALSECD
Ans B
Q. 94 ______ is used to install and remove packages and control downloading them from A directory
A RpmB WhoC YumD Ls
Ans A
Q. 95 In what areas is the COBOL programming language used?
A Financial sector and engineeringB graphic design and educationC accounting systems, commercial sector and
governmentD none of the above
Ans C
Q. 96 MATLAB is _____ languageA high levelB middle levelC low levelD natural language
Ans A
Q. 97 GUI is the acronym for graphical user interface
A TRUEB FALSECD
Ans A
Q. 98 C was developed in the year ______A 1970B 1971C 1972D 1974
Ans C
Q. 99 C was developed in the year ______ABCD
Ans
Q. 100 LISP is derived from list processing langaugeA TRUEB FALSECD
Ans A
Q. 101 Java is procedure oriented langauge
Fundamentals of Programming Language-I 1-7
A TRUEB FALSECD
Ans B
Q. 102 A compiler is ______A A combination of computerB A program which translates from one software
high level language to A machine levelC A program which translates from one high
level language to anotherD None of the above
Ans B
Q. 103 Computer software includesA Application programB Operating System ProgramC Packaged programD All of these
Ans D
Q. 104 Assembly languageA uses alphabetics code inB is the easiest language to write machine
languageC place of binary number used programs
machine language need not be translated intoD None of the above
Ans A
Q. 105 A source program isA A program written in machine languageB A program to be translated into machine
languageC A machine level translation of programD None of the above
Ans B
Q. 106 ______ runs on computer hardware and serves as platform for other software's to run on
A Operating systemB Application SoftwareC System SoftwareD All of these
Ans A
Q. 107 ____ is A layer of A computer system between the hardware and the user program
A operating EnvironmentB Operating SystemC System environmentD None of the above
Ans B
Q. 108 The primary purpose of an operating system is
A To make the efficient use of the computer hardware
B To allow people to use the computer
C To keep system programmers employedD To make computers easiest to use
Ans A
Q. 109 ______ is the first program run on A computer when the computer boots up
A System SoftwareB Operating SystemC System operatingD None of the above
Ans B
Q. 110 _________ system is built directly on the hardware
A EnvironmentB SystemC OperatingD None of the above
Ans C
Q. 111 _____ shares characteristics with both hardware and software
A Operating SystemB SoftwareC DataD None of the above
Ans A
Q. 112 The operating System managesA MemoryB ProcessesC Disk and IO devicesD All of these
Ans D
Q. 113 Out of the following, what is opcode in assembly language
A movB abbC cmpD None of the above
Ans A
Q. 114 Who converts assembly language into machine language
A LinkerB assemblerC interpreterD Compiler
Ans B
Q. 115 compiler converts source code intoA ComentB object codeC test caseD assembly languge
Ans B
Q. 116 ____is an example of interpreted languageA CB C++
Fundamentals of Programming Language-I 1-8
C BasicD All of these
Ans C
Q. 117 kernel is also known asA oprating systemB heart of OSC high level languageD low level language
Ans B
Q. 118 Which of the characteristic of Java Language?A AbstractionB SimplificationC PortabilityD All of these
Ans D
Q. 119 LISP is mostly used inA Application ProgrammingB Web ProgrammingC Artificial Intelligence Application developmentD Operating System Development
Ans C
Q. 120 Which Language is easy to understand for human being?
A Low Level LanguageB Assembly LanguageC high level languageD None of the above
Ans C
Q. 121 Which Language is easy to understand for machine?
A Low Level LanguageB Assembly LanguageC high level languageD None of the above
Ans A
Q. 122 BASIC stands forA Base All Some Translation CodeB Business At Some Translation CodeC Beginners All Purpose Symbolic Instruction
CodeD None of the above
Ans C
Q. 123 COBOL stands forA Common Business Oriented LanguageB Common Basic Operation LanguageC Code of Business of LanguageD None of the above
Ans A
Q. 124 PL/I stands forA Programming language 1B Processing language 1C Prmpting language 1D None of the above
Ans A
Q. 125 ____ language is written in the form of binary language
A High Level LanguageB Assembly LanguageC Machine Level LanguageD None of the above
Ans C
Q. 126 Documentation is done to increaseA readability of programB Development Time of ProgramC Cost of ProgramD All of these
Ans A
Q. 127 _____ is A step by step execution of programA TestingB CompilationC DebuggingD All of these
Ans C
Q. 128 A person who carries out the debugging process is referred to as
A ProgrammerB DebugerC DeveloperD None of the Above
Ans B
Q. 129 The basic operations performed by A computer are
A Arithmetic OperationB Logical OperationC Storage and relativeD All of these
Ans D
Q. 130 The brain of any computer sysytem isA Control UnitB CPUC ALUD Storage Unit
Ans B
Q. 131 Fifth generation computer is also known asA Knowledge information processing systemB Very large scale integrationC Both A and BD None of the Above
Ans A
Q. 132 The Full form of CD is----A Compact DiskB Conjugated DiskC Complex DiskD Combine Disk
Ans A
Fundamentals of Programming Language-I 1-9
Q. 133 ROM stands forA Read Only MasterB Read On MemoryC Read Only MemoryD Read Only Man
Ans C
Q. 134 RAM stands forA Random And MemoryB Read And MemoryC Random Access MemoryD Read Access Memory
Ans C
Q. 135 Which of the following is not A logic gate?A ANDB ORC NOTD NAM
Ans D
Q. 136 Register is A part ofA ALUB CPUC Floppy DiskD Disk Drive
Ans A
Q. 137 Group of instruction is calledA ProgramB Instructions SetC Both A and BD None of the Above
Ans C
Q. 138 Software isA Group of programB Group of hardwareC Group of of registerD Group Capacitor
Ans A
Q. 139 Instruction isA Command given to A computerB Command given to A CPUC Flow of commandD None of the Above
Ans A
Q. 140 can we run C program in C++ Compiler?A YesB NoC Both A and BD None of the Above
Ans A
Q. 141 Logic error is also called asA Semantic errorB Compilation errorC Syntax error
D warning error
Ans A
Q. 142 For dubugging, A program should be ___ freeA Syntax ErrorB Logical errorC WarningD All of these
Ans A
Q. 143 Which of the following is the type of error?A Syntax ErrorB LogicalC Run Time errorD All of these
Ans D
Q. 144 Which of the following is business oriented Language?
A FORTRANB PASCALC CD COBOL
Ans D
Q. 145 Documentation is carried out in_____ phase.A maintainenanceB testingC system requirementD implementation
Ans D
Q. 146 Comments are _______________A Executable statementsB Non executable statementsC Assignment statementsD Input/Output statements
Ans B
Q. 147 Documentation is any communicable material (such as text, video, audio, etc., or combinations thereof) which ____
A Explain some attributes of an object, system or procedure
B Are in books or computer readable file formatsC Describe the structure and components, or on
the other hand, operation, of A system/product.
D All of aboveAns D
Q. 148 What does user manual provide?A Help for developerB Help for end userC Help for testerD Help for analyst
Ans B
Q. 149 Which of the folllowing is generally used for documentation?
Fundamentals of Programming Language-I 1-10
A CommmentsB VariablesC DatatypesD Functions
Ans A
Q. 150 Source Program isA Program written by programmerB Binary codeC Byte CodeD Executable code
Ans A
Q. 151 Which is the object oriented languageA CB C++C LISPD COBOL
Ans B
Q. 152 What is only language that A computer understands directly?
A EnglishB BasicC C' languageD Machine language, different for every type of
CPUAns D
Q. 153 Which language is written as string of binary 1s and 0s
A High level languageB Machine LanguageC Assembly LanguageD none of above
Ans B
Q. 154 Which program or set of instruction that the computer can understand directly without the help of translting language
A Machine Language programB none of aboveC High level languageD Assembly Language programing
Ans A
Q. 155 The basic operations performed by A computer are
A Arithmetic OperationB Logical OperationC Storage and relativeD All of these
Ans D
Q. 156 Fifth generation computer is also known asA Knowledge information processing systemB Very large scale integrationC Both A and BD None of the Above
Ans A
Q. 157 The A drive is reserve for?A Floppy DiskB Magnetic DiskC operating SystemD All of these
Ans A
Q. 158 Base of hexadecimal number system is.A 2B 8C 16D 10
Ans C
Q. 159 Base of octal number system isA 2B 8C 10D 16
Ans B
Q. 160 How many nibbles A byte contains?A 2B 8C 4D 6
Ans A
Q. 161 Which is the smallest unit of memory?A ByteB NibbleC BitD Word
Ans C
Q.162 1GB=_____A 1024KBB 1000KBC 1024MBD 1024MB
Ans D
Q.162 MATLAB is used for A Simulation B DebuggingC Error correctionD Remove syntax error
Ans A
Q.163 Debugging is nothing butA Execution of programB Step by step execution of programC ComilationD Linking
Ans B
Q.164 Compiler is able to detect A Run time errorB Logical errorC Syntax error
Fundamentals of Programming Language-I 1-11
D Semantic errorAns C
----xxx----