This document contains 30 multiple choice questions that appear to be from a preliminary exam round for an event called BRAIN-BYTE 2K15. The questions cover a range of technical computer science topics including operating systems like Linux and Red Hat, programming languages like MySQL, software engineering concepts, computer hardware, and history of computing.
CUDA by Example : Introduction to CUDA C : NotesSubhajit Sahu
Highlighted notes of:
Chapter 3: Introduction to CUDA C
Book:
CUDA by Example
An Introduction to General Purpose GPU Computing
Authors:
Jason Sanders
Edward Kandrot
“This book is required reading for anyone working with accelerator-based computing systems.”
–From the Foreword by Jack Dongarra, University of Tennessee and Oak Ridge National Laboratory
CUDA is a computing architecture designed to facilitate the development of parallel programs. In conjunction with a comprehensive software platform, the CUDA Architecture enables programmers to draw on the immense power of graphics processing units (GPUs) when building high-performance applications. GPUs, of course, have long been available for demanding graphics and game applications. CUDA now brings this valuable resource to programmers working on applications in other domains, including science, engineering, and finance. No knowledge of graphics programming is required–just the ability to program in a modestly extended version of C.
CUDA by Example, written by two senior members of the CUDA software platform team, shows programmers how to employ this new technology. The authors introduce each area of CUDA development through working examples. After a concise introduction to the CUDA platform and architecture, as well as a quick-start guide to CUDA C, the book details the techniques and trade-offs associated with each key CUDA feature. You’ll discover when to use each CUDA C extension and how to write CUDA software that delivers truly outstanding performance.
Table of Contents
Why CUDA? Why Now?
Getting Started
Introduction to CUDA C
Parallel Programming in CUDA C
Thread Cooperation
Constant Memory and Events
Texture Memory
Graphics Interoperability
Atomics
Streams
CUDA C on Multiple GPUs
The Final Countdown
All the CUDA software tools you’ll need are freely available for download from NVIDIA.
Jason Sanders is a senior software engineer in NVIDIA’s CUDA Platform Group, helped develop early releases of CUDA system software and contributed to the OpenCL 1.0 Specification, an industry standard for heterogeneous computing. He has held positions at ATI Technologies, Apple, and Novell.
Edward Kandrot is a senior software engineer on NVIDIA’s CUDA Algorithms team, has more than twenty years of industry experience optimizing code performance for firms including Adobe, Microsoft, Google, and Autodesk.
2. 1. What is the command used to
download softwares in linux shell?
(a). Sudo apt-get install package_name
(b). Sudo apt- get install package_name
(c). Sudo apt get install package_name
(d). Sudo apt install package_name
3. 2. What difference does the 5th
generation computer have from other
generation computers?
(a). Technological Advancement
(b). Scientific Code
(c). Object Oriented programming
(d). None of the Above
4. 3. ____ Hardware Architectures
are not Supported by Red Hat?
(a). SPARC
(b). IBM
(c). ALPHA
(d). MAC
7. 6. Which of the following
statements is false ?
(a). Mysql is owned by ORACLE.
(b). Mysql is a open source.
(c). Mysql is a Relational Database Management System.
(d). Mysql doesn’t support stored procedures.
8. 7. Will The Result of SELECT
statement contain duplicate rows ?
9. 8. Which of the following commands
should be used to create Database named
"Student"?
(a) Create Student
(b) Create Database Student
(c) Create database
(d) All of the above
10. 9. How many Characters are allowed
to create database in mysql?
11. 10. The main Mysql program that
does all the handling is called?
(a) mysql.exe
(b) mysql
(c) mysqld
(d) httpd
25. 24. The time required for the
fetching and execution of one simple
machine instruction is_____ ?
(a). Delay time
(b). CPU cycle
(c). Real time
(d). Seek time
26. 25. What command is used to count the
total number of lines, words, and
characters contained in a file?
(a). Countw
(b). wcount
(c). Wc
(d). Count p
27. 26. The symbols used in an assembly
language are called as _____?
(a). Codes
(b). Mnemonics
(c). Assembler
(d). All of the above
28. 27. Which device of computer
operation dispenses with the use
of the keyboard?
(a). Joystick
(b). Light pen
(c).Mouse
(d).None of the above
29. 28. UNIVAC is an example of
(a). First generation computers
(b). Second generation computers
(c). Third generation computers
(d). Fourth generation computers