Can someone please list the answers to the ten mcqs below(single option correct).
HTTP Content type when you open webpage - 1)Application/json 2) Text/html 3) Application/json
HTTP component which helps to identify resource of server - 1) Uniform Resource Information
2)Uniform Resource Locator 3) Uniform Resource Indicator 4)None of these
Best algo to search for word in dictionary - 1)Binary search 2)Ternary search 3) Selection search 4)Matrix search
Output of 10 / 5 === 1 ? 'bar' : 'foo' - 1) 'bar'. 2) 'foo' 3)null
In a computer program variables are -
IPv6 range - 1. 2^128 2. 2^16 3. 2^32 4. 2^64
Right answer to this statement - c = i++ - 1)value of i assigned to c and then incremented
2) value of i incremented then assigned to c
8.Best data structure to validate html - 1) Stack 2) Queue 3) Btrees 4)heaps
9.Meaning of 3XX response code - 1) client error 2) redirection 3)success 4) server error