TCS Placement: Sample Questions 417 - 420 of 502

Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 417

Edit

Write in Short

Short Answer▾

Complete the series. 3,8, -, 24, -, 48,63

Explanation

Here, the difference between two terms of the series is 5, 7, 9, 11, 13,15, 17 … , i.e.. addition of odd numbers starting from 5.

Hence series will be, 3, 8, 15, 24, 35,48, 63

Missing terms of the series are 15 and 35.

Question 418

Edit

Write in Short

Short Answer▾

Which special symbol is allowed in a variable name?

Explanation

  • Variable names in C are made up of letters (upper and lower case) and digits. The underscore character ( “_” ) is also permitted. Names must not begin with a digit.
  • Examples of C variable names: foo, Bar, BAZ, foo_bar, _foo42, _QuUx

Question 419

Edit

Write in Short

Short Answer▾

Complete the series: 13, 14, 27, 30,55, 62, ? , 126

Explanation

  • Divide the given series into two parts of odd and even term series.
  • Odd term series: 13,27, 55, ? , …
  • Even term series: 14, 30,62, 126, …
  • Missing term will follow the pattern of odd term series.
  • Looking at the analogy, we can conclude that next term is one more than twice of its previous term.
  • Like,
  • Following the same pattern,
  • So, missing term will be 111.

Question 420

Edit

Describe in Detail

Essay▾

What is code access security (CAS) ?

Explanation

  • Code access security (CAS) is part of the . NET security model preventing unauthorized access of resources and operations, and restricting code to perform particular tasks.
  • Enforces varying levels of trust on different code running in the same application.
  • Is not to be used for enforcing security boundaries based on code origination or other identity aspects.
Given the Image is Define the Code-Access Security Key Elements

Developed by: