Download NSA Interview Questions and Answers and more Exams Advanced Education in PDF only on Docsity! NSA Interview Questions and Answers Explain a circular Linked List. - ANSWER-A circular Linked List is a data structure of nodes with pointers pointing to another node of the Linked List. It's key trait is that it's tail node has a pointer pointing to the head of the Linked List. Explain the difference between forking a new process vs. spawning a new Thread. - ANSWER-A new thread is still part of the same process while a new process is operating separately from it's parent meaning it'll use more resources that instead of sharing resources like threads. Explain the OSI Layer Model vs. the TCP/IP Model. - ANSWER-Both are based on layered architecture that are comparable with one another. The OSI model's physical and data link layer correspond to the link layer of the TCP/IP model. The network and transport layers are the same in both models. The session, presentation, and application layer of the OSI model form the application layer of the TCP/IP model. Both models divide data into packets that take individual routes from the source to their destination. ---------- The OSI model is generic, based upon each layers' function. TCP/IP model is a protocol-oriented standard. OSI model distinguishes three concepts: services, interfaces, and protocols. TCP/IP does not have a clear distinction between these three. OSI model gives guidelines on how communication needs to be done. TCP/IP protocols layout standards on which the Internet was developed. TCP/IP is more practical. OSI has 7 layers, TCP/IP has 4 layers. Give an example of a project you completed and how you could've improved it. - ANSWER-This Summer I was working to learn Django and was creating a todo list that emulated some of the more advanced features that applications like Todoist and Google Keep has such as subtasks and scheduled tasks along. Some ways I could have improved it was making it so users can have multiple lists for different days or just for different parts of their day. My grocery list is going to be vastly different than my gift list for Christmas. How much time would it take for a cannonball to fall to the depth of the Mariana trench? (Logical thinking > Physics equation) - ANSWER-The Mariana Trench is 11,000 meters. Terminal Velocity is 9.8m/s Altercation of Terminal Velocity in water 11,000/newVal/60 = result How would you deal with a person in a team who is not producing the necessary work? What size teams have you worked in? - ANSWER-The most I've worked in is a size of 4, other than that my teams range from 1-4 members. If there was a team member not producing the necessary work I'd talk to them and ask if there's anything preventing them from doing so whether it be a difficult problem or life matters that's halting them. Tell me about your interpersonal skills? - ANSWER-They're much better than when I first entered college. I joined this club named InterVarsity and eventually started interacting with a bunch of people because of it. Eventually I became a part of the leadership and started to lead my own team having to coordinate with speakers for general body meetings, other leaders, and other clubs. What do you know about the NSA and why did you decide to apply here? - ANSWER-I know the NSA is a U.S. intelligence agency within the Department of Defense responsible for cryptographic and communications intelligence and security. It's responsible for global monitoring, collection, processing information and data for foreign and domestic intelligence and counterintelligence purposes. Working for the NSA sounds like an interesting job where I can work with tons of different data and seeing what we learn from our endeavors. In such a crucial environment seems like the perfect opportunity to learn as much as I can from seasoned professionals while manipulating and analyzing massive quantities of data. What is a critical section? - ANSWER-A code segment that more than one process has access to. What is a Strong Typed Language? Give an example. - ANSWER-A strongly typed language is one where the programmer cannot work around restrictions imposed by the type system. Some examples are Java and Python although they are typed differently, with Java being statically typed and Python being dynamically typed, once the type has been assigned that variable cannot be retyped. What is an Object and a Class? What is the difference between them? - ANSWER-A Class is a template for objects that define the object's properties and behavior. An object is a member, or an "instance" of a class. It will contain properties and behavior detailed in the class blueprint.