... Trãi Tin Học 11
CHƯƠNG I: MỘT SỐ KHÁI NIỆM VỀ LẬP TRÌNH
VÀ NGƠN NGỮ LẬP TRÌNH
BÀI 1: KHÁI NIỆM LẬP TRÌNH VÀ NGƠN NGỮ LẬP TRÌNH
I. KHÁI NIỆM LẬP TRÌNH & CHƯƠNG TRÌNH DỊCH
1. Khái niệm lập trình
... thúc
Sai
đúng
Tin Học 11 Thpt Nguyễn Trãi
CHƯƠNG VI:CHƯƠNG TRÌNH CON
VÀ LẬP TRÌNH CĨ CẤU TRÚC
Bài 16: CHƯƠNG TRÌNH CON VÀ PHÂN LOẠI,
CÁCH VIẾT VÀ SỬ DỤNG CHƯƠNG TRÌNH CON
1.Khá...
... mục
Sách giáo khoa Tin học 11 gồm 6 chương:
Chương I: Một số khái niệm về lập trình và ngôn ngữ lập trình được trình
bày trong 2 bài.
Chương II: Chương trình đơn giản được trình bày trong ... dụng ngôn ngữ lập trình cụ thể (trong sách giáo khoa dùng
Pascal) để lập trình giải một số bài toán dễ xây dựng thuật toán hoặc đã có
thuật toán trong sách giáo khoa...
... xuất hiện hộp thoại Action Settings
* Trong hộp thoại Action Settings, chọn trang Mouse Click để quy định
hành động khi click chuột lên nút
* Trong hộp thoại Action Settings, chọn trang Mouse Over ... Action Settings
Click
Xuất hiện hộp thoại Action Settings
Saturday, July 17, 2010
23
Hộp thoại Edit Hyperlink
Click chọn
Địa chỉ liên kết mới
Saturday, July 17, 2010
16
Nút với thông
tin tuỳ...
... programming
• Object-oriented programming
2003 Prentice Hall, Inc. All rights reserved.
11
A Simple Program:
Printing a Line of Text
• Standard output stream object
– std::cout
– “Connected” to screen
– ... classes and functions
• C++ standard library
– Rich collections of existing classes and functions
• “Building block approach” to creating programs
– “Software reuse”
2003 Prentice Ha...
... number of students
– How will program know when to end?
• Sentinel value
– Indicates “end of data entry”
– Loop ends when sentinel input
– Sentinel chosen so it cannot be confused with regular input ... Prentice Hall, Inc.
All rights reserved.
1 // Fig. 2.14: fig02_14.cpp
2 // Preincrementing and postincrementing.
3 #include <iostream>
4 using std::cout;
5 using std::endl;
6 // function...
... <ctime>
• Returns current time in seconds
• General shifting and scaling
– Number = shiftingValue + rand() % scalingFactor
– shiftingValue = first number in desired range
– scalingFactor = ... is 26 on exiting useLocal
local static x is 51 on entering useStaticLocal
local static x is 52 on exiting useStaticLocal
global x is 10 on entering useGlobal
global x is 100 on exiting useGlobal
l...