Aiou Workshop 5403| Test 6 admin 3 years ago Spread the love /100 108 Aiou Workshop 5403| Test 6 1 / 100 1) The output of the compiler is called: a) Library code b) Object code c) Source code d) Linked code 2 / 100 2) Which of the following is NOT an example of a program bug? a) Logic error b) Run-time error c) Operator error d) Syntax error 3 / 100 3) C is a: a) High level language b) Machine Language c) Assembly language d) Low-level language 4 / 100 4) Which of the following is an authentication methodology? a) Biometrics b) Access cards c) Piracy d) PIN 5 / 100 5) The processing of running an executable file is known as a) Debugging b) executing c) Compiling d) Saving 6 / 100 6) The expression in define directive: a) Can not be changed but can be redefined b) Cannot be changed c) Can only be changed at the end of the program d) Cannot be assigned a value 7 / 100 7) Security protection for personal computers includes: a) Internal components b) Locks and cables c) Software d) All of these 8 / 100 8) The process of identifying and removing errors in the programs is called: a) debugging b) None c) Processing d) Executing 9 / 100 9) Which of the following language requires no translator to execute the program? a) C b) Machine language c) C++ d) Assembly language 10 / 100 10) What does the following code print on screen? printf(‘hello’); a) HELLO b) None c) hello d) Hello 11 / 100 11) Which of the following syntax is used to include header file? a) #include b) None of these c) # include "name of the header file" d) Both a or b 12 / 100 12) Protecting computers and the information they contain against unwanted access is called: a) Computer monitoring b) Audit control c) Electronic policing d) Computer security 13 / 100 13) For every opening brace in a C program, there must be a: a) Closing brace b) Colon c) Comma d) None 14 / 100 14) Which of the following is NOT a high level language? a) BASIC b) None c) Assembly language d) FORTRAN 15 / 100 15) An additional or spare copy of data stored on storage media is call: a) Additional data b) Moving of Data c) Copying of Data d) Backup of data 16 / 100 16) A type of language in which instructions are written in binary form is called: a) None b) Assembly language c) Machine language d) High level language 17 / 100 17) Who is responsible of security of online data? a) Internet Service provider b) User c) LAN Administrator d) Organization obtaining the data 18 / 100 18) A spelling error (e.g. typing intt instead of int) is an example of: a) None b) Run-time error c) Logic error d) Syntax error 19 / 100 19) C statements end with a: a) semicolon b) None c) Period d) semicolon 20 / 100 20) Software that is available free for a limited period is called: a) Groupware b) vertical c) Shareware d) Freeware 21 / 100 21) A program’s syntax errors is detected by: a) Compiler b) Linker c) Debugger d) Loader 22 / 100 22) The extension of the header file is: a) .CPP b) .txt c) .c d) .h 23 / 100 23) An IDE typically consists of: a) Debugger b) Compiler c) All d) Text editor 24 / 100 24) Division by zero (e.g. 2/ 0) is an example a) None b) Logic error c) Run-time error d) Run-time error 25 / 100 25) FormatC is an example of: a) Boot sector b) Logic Bomb c) Trojan horse d) Chernobal 26 / 100 26) main is a a) Comment b) Compiler directive c) Expression d) Function 27 / 100 27) Which of the following is not a biometric technique: a) Badge b) Palm print c) Face d) Retina 28 / 100 28) which one of the following translates source code to object code as a whole a) Assembler b) Interpreter c) None d) Compiler 29 / 100 29) Which of the following key is used to load a program it memory to run? a) ALT+F9 b) CTRL+S c) CTRL+F9 d) ALT+F5 30 / 100 30) C was developed in the year:1972 a) 1970 b) 1971 c) 1973 d) 1972 31 / 100 31) The programmer usually enters source code into a computer using a) Linker b) Compiler c) Text editor d) Debugger 32 / 100 32) Which malicious program is activated when a specific set of conditions are met? a) Trojan horse b) Virus c) Logic bomb d) Worm 33 / 100 33) Writing programs in machine language is: a) Both a and c b) Less time-consuming c) Less tedious d) None 34 / 100 34) Which of the following reason causes the syntax error a) Missing statement terminator b) Missing any of the delimiters c) using a variable without declaration d) All 35 / 100 35) Debug is the process of: a) Removing Errors b) Identifying Errors c) Identifying and removing errors d) Creating bugs in program 36 / 100 36) Computer virus is simply a: a) A disease b) Set of computer instructions or code c) Type of bacteria d) Hardware component 37 / 100 37) The secrets word or number used for protection is called: a) Private words b) Biometric data c) Backup d) Passwords 38 / 100 38) A statement that starts with a # is called a: a) None b) Keyword c) Comment d) Preprocessor directive 39 / 100 39) Which file contains the program after translation into machine language a) None b) exe file c) Object file d) Source file 40 / 100 40) Choose the program that translates and executes one line of source code at a time. a) Assembler b) compiler c) interpreter d) None 41 / 100 41) What does the # sign indicate in an instruction of C language? a) Instruction for user b) Instruction for compiler c) None d) Instruction for linker 42 / 100 42) The statements written by the programmer are called: a) Syntax b) None c) Object code d) Source code 43 / 100 43) Mistakes that cause a running program to produce incorrect results are called: a) Program error b) Logic error c) None d) Syntax error 44 / 100 44) A well-defined set of instructions given to the computer is called: a) Hardware b) Software c) Bug d) None 45 / 100 45) Which of the following one is not a virus? a) MCAfee b) Logic Bomb c) Reflof d) Trojan Horse 46 / 100 46) Which of the following key is used to compile a program a) ALT+F5 b) ALT+F9 c) CTRL+S d) CTRL+F9 47 / 100 47) Which of the following is not an antivirus program? a) Avast b) Redlof c) Norton d) McAfee 48 / 100 48) A virus that replicates itself is called: a) Bug b) Bomb c) Worm d) Vaccine 49 / 100 49) void occupy how many bytes in memory? a) 0 b) 3 c) 1 d) 2 50 / 100 50) Turbo C++ can compile a) C programs only b) C and C++ programs c) Turbo C Programs only d) Turbo C++ Programs only 51 / 100 51) The process of linking library files with object cod is known as: a) Compiler b) Linking c) Executing d) Saving 52 / 100 52) which of the following header file contains information about common mathematical functions? a) None b) math.h c) stdio.h d) conio.h 53 / 100 53) The right of a person to keep his personal information away from others is called: a) Privacy b) Private c) Secrecy d) Right 54 / 100 54) Which of the following language provided the basis for the development C a) B b) Java c) C++ d) Pascal 55 / 100 55) conio stands for: a) Common input output b) Console input output c) Character input output d) Complex input output 56 / 100 56) The basic structure of C program consists of: a) Program body b) main() function c) Preprocessor Directive d) All 57 / 100 57) which Program that translates assembly language code to machine code a) Translator b) Debugger c) Converter d) Assembler 58 / 100 58) Which of the following is not cause of virus? a) Logic bomb b) Pirated software c) Networks d) E-mail 59 / 100 59) Which of the following is the native language of computer? a) DOS b) None c) Pascal d) Machine language 60 / 100 60) A set of rules that must be followed to develop a program is called: a) Preprocessor b) Bug c) Debug d) Syntax 61 / 100 61) Which of the following viruses executes when starting the computer? a) Salami shaving b) File infector c) Boot sector d) Macro 62 / 100 62) Who developed C? a) Charles Babbage b) Dennis Ritchie c) Al- Khuwarizmi d) Von-Neumann 63 / 100 63) The right to use the software on the computer is called: a) Software copyright b) Software piracy c) Site License d) Intellectual property right 64 / 100 64) A person who gains illegal access to a computer system is called: a) Authorized person b) Hacker c) Computer operator d) Network controller 65 / 100 65) Which of the following is a biometric technique for person identification? a) PIN b) Fingerprint c) Password d) Access card 66 / 100 66) An assembly language uses: a) English Words b) Binary Digit c) Mnemonic Codes d) None 67 / 100 67) stdio.h is part of: a) Compiler b) C standard library c) Comment section d) main function 68 / 100 68) The extension of object file is: a) .c b) .exe c) .h d) .obj 69 / 100 69) computer programs are also known as: a) Hardware b) Procedure c) None d) Software 70 / 100 70) McAfee is an example of: a) Antivirus b) Virus c) Worm d) Hacker 71 / 100 71) Which of the following is harmful for computers? a) Shareware b) Antivirus c) Freeware d) Virus 72 / 100 72) Processor directives are command for a) C preprocessor b) Microprocessor c) Loader d) Language Processor 73 / 100 73) Which of the following is computer virus? a) Chernobyl b) All of these c) Logic Bomb d) Reflof 74 / 100 74) which of the following language Is ideal to write business application a) None b) BASIC c) PASCAL d) COBOL 75 / 100 75) C programs are divided into units called: a) Section b) Syntax c) Functions d) debug 76 / 100 76) which header file contains information about standard input/ output functions? a) None b) stdio.h c) Both a and b d) math.h 77 / 100 77) B was developed in the year: a) 1965-1975 b) 1992-1996 c) 1972-1988 d) 1969-70 78 / 100 78) A special program that can detect and remove viruses from computer is called: a) Anti-Virus b) Virus c) Groupware d) Custom 79 / 100 79) C was designed to write program for: a) Solaris operating system b) Windows operating system c) OS/2 operating system d) Unix operating system 80 / 100 80) stdio stands for: a) String input-output b) Standard input output c) Symbolic input output d) Simple input output 81 / 100 81) A program that interferes with the normal working of a computer is called: a) Antivirus b) Virus c) Bateria d) Freeware 82 / 100 82) A type of error that occurs when an instruction violates the rules programs is called: a) Syntax error b) Runtime error c) None d) Program error 83 / 100 83) Which term is commonly used to refer to software or program errors: a) Bug b) Crash c) Short circuit d) Down 84 / 100 84) Which of the following key is used to save a file? a) F5 b) F2 c) F9 d) F3 85 / 100 85) Which of the following symbol is used to denote a pre-processor statement? a) @ b) # c) $ d) % 86 / 100 86) Biometric data a) Name of a partner or spouse b) Combination of letters, numbers and symbols c) Name of a partner or spouse d) Word related to a job or hobby 87 / 100 87) Making illegal copies of copyrighted software is called: a) Software piracy b) Software Browsing c) Software distribution d) Software hacking 88 / 100 88) Which of the following media can be used for backup? a) Floppy Diskette b) All c) Tape Device d) Zip Disk 89 / 100 89) Which of the following is the most damaging loss to a company? a) Loss of software b) Loss of data c) Loss of printouts d) Loss of hardware 90 / 100 90) Another name for antivirus is: a) Vaccine b) DES c) Trojan horse d) Logic Bomb 91 / 100 91) The lowest level of programming language is: a) Pascal b) Java c) None d) Assembly Language 92 / 100 92) The expression may be: a) All b) arithmetic expression c) Constant d) string 93 / 100 93) The [ascetic] militant Chinese have gone straight to the roots of the problems. a) professional b) secular c) religious d) trained 94 / 100 94) The process of converting source code into object code,is knows as: a) Executing b) Linking c) Compiling d) Saving 95 / 100 95) Computer programs are also known ac a) Software b) Hardware c) None d) Firmware 96 / 100 96) The restricted access to the server computer room is a form of: a) Enterprise security b) Physical security c) User security d) Logical security 97 / 100 97) Which of the following errors are NOT detected by compiler? a) None b) Syntax error c) Both a and b d) Logical error 98 / 100 98) Types of translators are: a) All b) None c) Compilers d) Assemblers 99 / 100 99) An IDE stands for: a) Input data error b) Integrated Development Environment c) Internal disk error d) Input Desktop environment 100 / 100 100) Which of the following components is used to convert first.c to first.exe? a) compiler & linker b) None c) compiler & header d) header & linker Your score is LinkedIn Facebook Twitter VKontakte {{#message}}{{{message}}}{{/message}}{{^message}}Your submission failed. The server responded with {{status_text}} (code {{status_code}}). Please contact the developer of this form processor to improve this message. Learn More{{/message}}{{#message}}{{{message}}}{{/message}}{{^message}}It appears your submission was successful. Even though the server responded OK, it is possible the submission was not processed. Please contact the developer of this form processor to improve this message. Learn More{{/message}}Submitting…