This document contains the solved answers to a CS101 final term exam paper. It includes 20 multiple choice questions related to topics like conditional statements, loops, arrays, networks, protocols, and more. The answers are provided in a numbered list format with the question and correct multiple choice answer given for each item.
Original Description:
Original Title
8. Download Cs101 Final Term Paper Solved by Binish Awais
This document contains the solved answers to a CS101 final term exam paper. It includes 20 multiple choice questions related to topics like conditional statements, loops, arrays, networks, protocols, and more. The answers are provided in a numbered list format with the question and correct multiple choice answer given for each item.
This document contains the solved answers to a CS101 final term exam paper. It includes 20 multiple choice questions related to topics like conditional statements, loops, arrays, networks, protocols, and more. The answers are provided in a numbered list format with the question and correct multiple choice answer given for each item.
1-when actions depends upon the values of multiple variables we ll
use -----? 1-if 2-else 3-if----else 4-none 2-when the exact number of iterations is known use the ----loop ? 1-for 2-if 3-while 4-none 3-when the number of iteration depend upon a condition being met use the ------ loop 1-for 2-switch 3-while 4-none 4-the key property of ‘’array ‘’object is -----------? 1-length 2-width 3-single 4-none 5-two of the key ‘’array ‘’methods are reverse ()-sort() 1-true 2-false 6-javascript array are -------? 1-multiple 2-herterogenous 3-homogenous 4-none 7------multiple computer that are connected together to share imformation and other resources 1-network 2-internets 3-compnetworks 4-none 8 – comp networks can send an email message to a remote comp using the ---- protocol? 1-HTTP 2-FTP 3-SMTP 4-none 9-comp network can browse documents residing on a remote comp using -------? 1-HTTP 2-FTP 3-SMTP 4-none 10-comp networks can download and upload files to a remote comp using ------? 1-HTTP 2-FTP 3-SMTP 4-none 11- network can run a program on remote comp using the ------------? 1-SMTP 2-TELNET 3-HTTP 4-none 12-components of convertional computer networks are except one ? 1-VPN 2-NIC 3-computers 4-hub 13-NIC stands for ------------? 1-national internet cables 2-national interface cards 3-network interface cards 4-none 14-cables are either------------? 1-electrical 2-digital 3-optical 4-1 and 2 15- hub component of comp network is ------------? 1-I/O device 2-traffic controller 3-network traffic controller 4-none 16- optical cables are required by wireless networks 1-true 2-false 17------ a deviece used to connect several computer to form a network 1-hub 2-cable 3-NIC 4-none 18- a hub has several -----? 1-NIC 2-cables 3-packet 4-ports 19- ------ smaller unit of data transmitted over a comp network 1-hub 2-port 3-packet 4-none 20- all packets travel----------? 1-dependently 2-independently 3-alternatively 4-none 1-sum=sum +49;---------------- 1-identifier 2-operators 3-literals 4-none 2-nam=’’bhola’’+’’continental’’ 1-literal 2-operators 3-identifier 4-none 3-javascript ignores any extra white spaces or line breakes you put in code 1-true 2-false 4-with ------------command excel changes the value in one cell until the value in a second cel reaches a number that u deserve 1-goal hide command 2-edit command 3-goal seek command 4-none 5- goal seek is a -----------? 1-tool 2-code 3-command 4-none 6-in goal seek there will be ------cells to fill in 1-4 2-3 3-4 4-none 7-at the times we need to put multiple statements at places where javascript expect only one we use -----------? 1-{} 2-curly braces 3-1 and 2 4-[] 8-----------collection of elements not achieved by things alone 1-pseudo code 2-loop 3-cyclic code 4-system 9-rule of thumb learnt through ----------? 1-hit and act method 2-trial and error method 3-trial and trial method 4-none 10-common sense draws lesson always from ------------? 1-action 2-practise 3-experience 4-error 11- quantitative principle quidline-------------? 1-general judgment 2-corrective thoughts 3-perception 4-none 12-heuristic always lead to the best results 1-true 2-false 13- ------ visitor don’t return to a site if their firs visit was –ive exp by forrester research 1-62% 2-40% 3-83% 4-none 14------user left site due to slowness by netsmart research 1-62% 2-40% 3-83% 4-none 15-designs of site should be -----------------? 1-consistent 2-unpredictable 3-predictable 4-1 and 3 16- elements of website design include -----------? 1-navigation scheme 2-layout of information 3-overall look and feel 4-all given 17-good design assits-------in recovering from errors 1-users 2-navigators 3-designers 4-none 17-designing elements should be large enough to be precessed ----------? 1-virtually 2-rightly 3-visually 4-none 18-designed elements must contasts sufficiently with therir ------------? 1-back grounds 2-methods 3-relative windows 4-tools 19-related elements should be visually – grouped through the use of ---------? 1-space 2-color 3-graphical 4-none 20-if the action to be taken of the value of a string variable we ll use ---------? 1-if 2-switch 3-if---else 4-none 1-a message to be transferred over network is broken up into ----- by sending comp ? 1-hubs 2-ports 3-packets 4-none 2- each packet contain following info except one ? 1-received info 2-sender address 3- data 4-destination address 3-organizations having many computers usually connect them in the form o f--------? 1-public network 2-private network 3-comp network 4-none 4-all networks that are not private are ------ public 1-true 2-false 5- VPN stands for -----------------? 1-venta pro network 2-virtual private network 3-visual private network 4-none 6-LAN stands for --------------? 1-land area network 2-local area network 3-locallized area network 4-none 7-WAN stands for ----------------? 1-window area network 2-warid area network 3-wide area network 4-none 8-----consist of several inter connected ------ 1-WAN 2-VPN 3-public 4-private 9- ----a special purpose computer that direct data traffic when several paths are available ? 1-bridge 2-router 3-pathway 4-gate way 10------ used to form a connection b/w two separate but similar networks ? 1-router 2-pathways 3-gateways 4-bridge 11-I/O devices used to connect two computers ove telephone lines 1-modulator 2-modam 3-telephone 4-none 12-----current computer message to electrical pulse 1-demodulator 2-modulator 3-telephone 4-none 13-modem=modulator +---------? 1-wireless 2-telephone 3-computer 4-demodulator 14- the patterns in which computer are connected to form a network are except one ? 1-bridge 2-star 3-bus 4-ring 15---- capacity of a communication channel for carrying data 1-bandwidth 2-cables 3-optical cables 4-channel band width 16- DNS stands for -----------? 1-domain name system 2-distance name system 3-digital name system 4-none 17-FTP stands for -------------? 1-filter translate protocol 2-file translate protocol 3-fibre transfer protocol 4-fiLe transfer protocol 18-TP stands for ---------------------? 1-telenet protocol 2-tele protocol 3-transfer protocol 4-none
1- electronic replacement of ledgers are --------?
1-spread sheet 2-webpages 3-webfiles 4-none 2-spread sheet is ---------------------? 1-collection of rows 2-collection of rows and information 3-collection of cells 4-collection of cells arranged in rows and columns 3-a cell can contain one of these expcept ------------? 1-numbers 2-text 3-formula 4-another cell 4-a good rule of thumb is ----------lines one a slid 1-5+_3 2-5+_2 3-5 +_1 4-none 5-for presentation use at least ----------point size 1-22 2-12 3-24 4-100 6-for presentation use at least normal text size being -----------------? 1-27-32 2-28-32 3-22-11 4-none 7-the guidline for presentation are actually -------------? 1-laws of nature 2-not laws of nature 3-multipurpose nature 4-none 8------can be used to develop presentation ? 1-word processor 2-excel 3-SW 4-none 9-popular presentation SW are except one ----? 1-CH Harvard graphics 2-CA Harvard graphics 3-Microsoft power point 4-corel presentation 10------ a group of statement that is put together once and then can be used repeatedly on a web page 1-command 2-function 3-codes 4-none 11-function is also known as except ? 1-subprogram 2-blog 3-procedure 4-subroutine 12- augment of a function -----? 1-semicolon separated list of data 2-comma separated list of data 3-curly braces separated list of data 4-none 13-augments define the interface b/w function and ---------? 1-data 2-spread sheet 3-webpage 4-code 14-to ensure that a function is defined before it is called up defined all function in the ---portion of webpages ? 1-HEAD 2- FOOT 3-Title 4-none 15-methods are -------------? 1-codes 2-commands 3-properties 4-functions 16-methods are unusual in the sense that they are stored as properties of -----? 1-things 2-windows 3-objects 4-none 17-----------------special-purpose functions that come pre defined with java script ? 1-event handlers 2-script codes 3-methods 4-functions 18-event handling defines------------? 1-capturing events 2-capturing new happening 3-capturing events and handling 4-capturing events and responding 19-event handlers are placed in-----------------part of webpage? 1-HEAD 2-BODY 3-function 4- HTML 20-eMAIL si --------------? 1-computer message 2-computer to telephone message 3-computer to computer message 4-none
1- IM stands for ---------------?
1-instant Messaging 2-internet messaging 3-intranet messaging 4-none 2- server less connection is termed as ---------------? 1-p3p 2-p2p 3-p1p 4-none 3-----smallest image forming element in a computer display 1-pixel 2-pascal 3-packet 4-ports 4-the color of pixel is represented by ---? 1-doublet 2-triplet 3-code 4-none 5-in pixel the intensity of each color is represented in ------------? 1-byte 2-megapixel 3-megabyte 4-none 6-in scheme pixel of alternating colors are used to stimulate a color that is not present in platlet ? 1-dithering 2-aliasing 3-color mapping 4-none 7-aliasing effect can be managed by --------the size of pixel ? 1-increasing 2-reducing 3-maintaing 4-n0ne 8------------is another technique used for managing the staircase 1-anti aliasing 2-aliasing 3-dithering 4-none 9-------------the process of converting information about 3 D object into a bit-map that can be displayed on a 2 D computer display 1-D rendering 2-3D rendering 3-p-rendering 4-none 10-----graphic in motions 1-floating points 2-cartoons 3-animations 4-effects 11- illusion of motion is created by showing the viewer a sequence of ----------rapidly ? 1-still images 2-animation images 3-2 D images 4-none 12-RBS stands for -----------------? 1-rule based system 2-relative basic system 3-relation based system 4-none 13------automatic machines that perform various tasks that were previously done by humans? 1-taks machines 2-robots 3-computers 4-none 14-autonomous web agents also known as -------------? 1-mobile agents 2-soft bots 3-robots 4-1 and 2 15----------exectues the specific javascript code when window receives focus or when a form element receives input focus ? 1-on Blur 2-on Mouse 3- on Focus 4-none 16-------exectues the specified javascript code when a window losses focus or a form element focus 1-on Blur 2-on Focus 3-1 AND 2 4-none 17----------executes the specified java script code when a new document is loaded into a window 1-on Blur 2-on Focus 3-on Load 4-on Unload 18----------execute the specified javascript code when a user exist a document 1-on Blur 2-on Focus 3-on Load 4- on Unload 19-javascript doesn’t support drawing of graphics 1-true 2-false 20-there are standard trigonometric functions 1-sine ( r) 2-cos ( r) 3-tan ( r ) 4- asin (r )
1-there are standard inverse trigonometric functions except one
-----? 1-sin (r ) 2-asin ( r ) 3-acos ( r ) 4- atan ( r ) 2- ----- returns a randomly –selcted floating point number b/w 0 and 1 1- random {} 2-random () 3-random [] 4-none 3- ---------- refers to maintaing the correctness and consistency of the data 1-integral data 2-data integrity 3-data maintainance 4-none 4-crrectness -------? 1-free from confusion 2-free from errors 3-free from complexity 4-perfectness 5-consistency -------------? 1-no conflict among item 2-no conflict among related item 3-no conflict among alternatives item 4-none 6---------- implemented by specifying the type of a data item 1-type integrity 2-limit integrity 3-refrential integrity 4-none 7------is enforced by limiting the value of data item to specified ranges to prevent illegal values 1-type integrity 2-limited integrity 3-refrential intergrity 4-none 8--------------requires that an item refrenced by the date for some other item must itself exist in database 1-type integrity 2-limit integrity 3-refrential intergrity 4-none 9-----------is ensured through hardware, redundancy ,back up etc 1-physical integrity 2-refrential integrity 3-type integrity 4-none 10-DBMS are popularly by incorrectly also knows as -----------------? 1-spreadsheet 2-exel sheet 3-data base 4-none 11-------------is the SW system that operates a database and is not database itself 1-DBM 2-BDMS 3-SW 4-none 12-tabular storage is better than flatfile storage ? 1-true 2-false 13-database consisting of two or more related tables are called -------------? 1-relaed ones 2-relational 3-relative 4-none 14-three phases of DOS are except one ----------------? 1-error 2-search 3-arm 4-attack 15-the DOS sw is not custom SW and can be downloade from the internet ? 1-true 2-false
1-everything that javascript manipulate it treats as an-----------?
1-subject 2-element 3-object 4-none 2-window has size position status means that ------------------? 1-object has shape 2-object has properties 3-object has visual effect 4-none 3-in javascript ‘’resize a window with resize to (150,200) shows that object can be manipulated with -----------? 1-associated patterns 2-associated properties 3-associated methods 4-none 4------- is a named collection of properties (data,state)and methods (instruction,behaviors) 1-thing 2-window 3-object 4-none 5--------- objects that contain info not about the content of display but the browser itself 1-navigator objects 2- browser objects 3-window objects 4-none 6------------objects that are part of javascript 1-javaobjects 2-javascipt objects 3-1and 2 4-none 7- a document is also known as -------? 1-browser object 2-javascript object 3-java object 4-none 8- java script is not true object oriented language like c++ or java 1-true 2-false 9-javascript lacks two keys features -----------? 1- a formal inheritance mechanism 2-----------------? 1-typing 2-weak typing 3- strong typing 4-none 10-javascript is also known as---------? 1-object oriented 2-object based 3-true object oriented 4-none 11-unlike in c and c++ and java there are no explicit data type in javascript 1-true 2-false 12----- given is ability to manipulate data through refrence instead of actuall value 1-numbers 2-x and y 3-variables 4-none 13-variables are containers that hold --------------------------? 1-result 2-value 3-numbers 4-none 14------- value of a variable varies during code -------------------------------? 1- determination 2-manipulation 3-execution 4-none 15-identifiers are names used by javascript to refer to variables -----------------? 1-objects 2-properties 3-method functions 4-all given 16-a identifier must begins with an --------------- or underscore character 1-alphabetical 2- A – Z 3- a- z 4- all given 17- subsequent character can be an/a -------? 1-alphabetical character 2-number character 3-underscore 4-all given 18-javascript keywords can be used as identifier--------? 1-true 2-false 19-number strings bollean are types of -------------? 1-literals 2-identifier 3-variables 4-none 20---------------- a data that appears directly in a statements 1-javascript literals 2-javasricpt variable 3-javascipt 4-none 1-javascipt stores all numbers even inteters as----------------? 1-floating numbers 2-floating point 3-floating point numbers 4-none 2--------- are always enclosed in matching pair of single or double quotes 1-numerical literals 2-string quotes 3-bolean literals 4-none 3-operators operate on ----- - to achieve the direct result 1-operands 2-operations 3-methods 4-variables 4-following operators belong to javascipt except one? 1-arithmatic operations 2-sting operatiors 3- comparison operators 4-document operator 5-the equal comparison operator is 1-= = 2-!= 3 =! 4->= 6-2*4-----------? 1-8 2-16 3-14 4-6 7-2/4-----------? 1-1.5 2-0.5 3-2 4-none 8-2-4---------- 1-2 2- -2 3- 8 4-none 9- 5%2--------------? 1-2.5 2- 1 3- 8 4-none 10- a= = b--------------? 1-true if a and b are not same 2-true if a and b are same 3-true if a is shorter than b 4-none 11- a!=b--------------? 1-true if a and b are not same 2-true if a and b are same 3-true if a is less than b 4-none 12- a>b---------------? 1- true if a is greater than b 2-true if b is greater than a 3- true if a is less than b 4-none 15- a>=b--------------? 1-true if a is greater than or equal to b 2-true if a is smaller than or equal to b 3-true if a is greater than b 4-none 16-a<b-----------------? 1-true if a is greater than b 2-true if a is lesser than b 3-true if a is smaller or equal than b 4-none 17-the ----------- operator can be use to concatenate two strings 1-+ 2- - 3- % 4- none 18-title = ‘’bhola ‘’+’’’’continental’’ 1- ‘’bhola’’’’continental’’ 2-bhola+continental 3-bhola continental 4-none 19-termination of all javascript statements with ; is necessary always-----? 1-true 2-false 20- b=2; ------------ 1-identifier 2-operator 3-literals 4-none