Cho 10 bóng đèn liên tiếp nhau có đánh số thứ tự từ trái qua phải (bắt đầu từ 0), thực hiện: 1. Bật tất cả các bóng đèn ở vị trí lẻ; 2. Bật các bóng đèn ở vị trí chẵn và chia hết cho 3; 3. Tắt các bóng đèn ở vị trí là số nguyên tố.
Số thập phân được biểu diễn là
Hãy suy nghĩ và trả lời câu hỏi trước khi xem đáp án
- Ban đầu tất cả các bóng đèn đều tắt (giá trị 0).
- Bước 1: Bật tất cả các bóng đèn ở vị trí lẻ. Các bóng đèn 1, 3, 5, 7, 9 được bật (giá trị 1).
- Bước 2: Bật các bóng đèn ở vị trí chẵn và chia hết cho 3. Bóng đèn 0, 6 được bật.
- Bước 3: Tắt các bóng đèn ở vị trí là số nguyên tố. Các số nguyên tố trong dãy là 2, 3, 5, 7. Vậy các bóng đèn 2, 3, 5, 7 bị tắt.
Câu hỏi liên quan
Quyền và nghĩa vụ trong việc thực hiện quy định của pháp luật về ngân sách nhà nước được thể hiện qua ý nào dưới đây?
Chương trình khai thác thuộc địa lần thứ nhất của thực dân Pháp được tiến hành ở Việt Nam trong khoảng thời gian nào?
Chọn ý đúng: Môi trường xã hội bao gồm?
Bệnh tụ huyết trùng gia cầm:
Một phản ứng có biến thiên enthalpy bằng 65kJ. Phát biểu nào sau đây là đúng?
Vì sao triều đình nhà Nguyễn kí với thực dân Pháp Hiệp ước Giáp Tuất (1874)?
Việt Nam đặt dưới sự “bảo hộ” của người Pháp. Nam Kỳ là xứ thuộc địa. Bắc kỳ là đất bảo hộ. Trung kỳ giao cho triều đình quản lí”. Điều khoản trên được qui định trong Hiệp ước nào?
Phân lớp Số AO Số electron tối đa s p d f Trong hình dưới đây, người đi ô tô (1), người đi bộ (2) và người đi xe máy (3) đều khởi hành từ cùng một vị trí để đi đến vị trí được đánh dấu. Sắp xếp quãng đường đi được của ba chuyển động ở hình trên theo thứ tự tăng dần?
Read the following passage about human life expectancy and mark the letter A, B, C or D on your answer sheet to indicate the best answer to each of the following questions from 23 to 30.
Milu was born in a small village in the north of India, and never had the chance of going to school, because her family needed her to work. So she grew up never having learned to read or write. She was a little sad about it, but she didn't let it upset her too much, and tried to think about other things.
She went through life, never being able to do what she wanted, because she felt that if she couldn't read, then she was somehow less than everybody else. This meant that she didn't make many friends and didn't go out much. She thought people would think she was stupid, and she didn't want them to laugh at her.
When she was fifty-six, she got a job cleaning a school and when she had finished her work, she used to sit and watch the little kids do their lessons. She didn't realise that one of the teachers watched her while she watched the kids, and one day, as she was about to leave, the teacher asked her to sit in the class. The kids thought it was very funny, but the teacher patiently started Milu on her first lesson to learn to read.
That was a few years ago, and now Milu can read and write as well as any of the other kids. She still cleans the school because she likes her job, but she doesn't feel less than everybody else anymore. The teacher, who is now her friend, sometimes gives her a book to read and she learns about people living in other parts of the world.
She has a granddaughter who studies at the same school, and sometimes she helps her with her homework. Being able to do that makes her feel so happy that when she stays alone she has a little cry. When she was in her little village as a child, she would never have dreamt that one day she would be able to help her granddaughter with her homework. She owes gratitude to her teacher friend for the gift she was given.
The word ‘patiently’ in paragraph 3 is OPPOSITE in meaning to _____.
Read the following passage about Traveling and mark the letter A, B, C or D on your answer sheet to indicate the best answer to each of the following questions from 23 to 30.
Traveling and exploring new places is an exciting way to experience different cultures and expand one’s horizons. Whether it’s a short trip to a neighbouring town or a long journey to a foreign country, stepping out into the world offers numerous benefits. It allows individuals to gain new perspectives, meet diverse people, and create lasting memories. Additionally, traveling can enhance personal growth and provide a sense of adventure and fulfillment.
One of the key advantages of traveling is the opportunity to learn about different cultures. By immersing oneself in a new environment, travellers can gain a deeper understanding of local customs, traditions, and lifestyles. This cultural exchange fosters mutual respect and appreciation among people from different backgrounds. Moreover, experiencing different cultures can challenge preconceptions and broaden one’s worldview.
Traveling also promotes personal development. Facing unfamiliar situations and overcoming challenges can boost confidence and adaptability. Travelers often find themselves navigating new cities, trying unfamiliar foods, and communicating in foreign languages. These experiences can enhance problem-solving skills and resilience. Furthermore, the sense of accomplishment from successfully managing a trip can lead to increased self-esteem and a greater sense of independence.
Another benefit of traveling is the chance to disconnect from the routine of everyday life. Exploring new places provides a break from the usual responsibilities and stresses. This can be refreshing and rejuvenating, allowing individuals to return home with a renewed sense of energy and perspective. Travel can also foster creativity by exposing individuals to new sights, sounds, and ideas.
Despite its benefits, traveling can also present challenges. Planning a trip requires time and effort, and unexpected situations can arise. However, these challenges can be viewed as opportunities for growth and learning. With careful planning and a positive mindset, the rewards of traveling far outweigh the difficulties.
Which of the following best paraphrases the underlined sentence in paragraph 4?
Nếu chiều dài đường đi của điện tích trong điện trường tăng 2 lần thì công của lực điện trường
Trong không gian Oxyz, cho tam giác ABC có \(A(2;-2;1)\) có trọng tâm G và M là trung điểm của cạnh B. Biết điểm \(G\) thuộc đường thẳng \(d:\frac{x-2}{1}=\frac{y+2}{2}=\frac{z+1}{2}\) và điểm \(M\) thuộc mặt phẳng \((P):x+2y-3z-1=0\). Đường thẳng AM có một vectơ chỉ phương là:
Vai trò của Đảng Cộng sản Việt Nam đối với hệ thống chính trị nước ta là gì?
Nhận định nào dưới đây là thể hiện quyền và nghĩa vụ của công dân về thuế?
Bảng số liệu dưới đây biểu thị khối lượng, đơn giá và đơn giá trung bình của một số loại thực phẩm mà siêu thị mini nọ bán được trong 3 ngày liên tiếp: ngày thứ nhất, ngày thứ hai và ngày thứ ba.
Biết trong 3 ngày này:
Tổng khối lượng thịt heo bán được gấp đôi tổng khối lượng cá hồi bán được.
Tổng khối lượng thịt bò bán được nhiều hơn tổng khối lượng thịt gà bán được là 20kg.
Tổng khối lượng tôm sú bán được bằng tổng khối lượng mực sữa bán được.
Giá bán mực sữa trong ngày thứ hai là
Hai vật có khối lượng \({m_1} = 1kg,{m_2} = 2kg\)chuyển động với vận tốc tương ứng là \({v_1} = 3m/s,{v_2} = 2m/s\) và \(\overrightarrow {{v_1}} \)vuông góc với \(\overrightarrow {{v_2}} \). Động lượng của hệ có giá trị là
Read the following passage and mark the letter A, B, C, or D on your answer sheet to indicate the best answer to each of the following questions from 31 to 40.
Working on Your Workout
(I) Although appreciating a balanced diet and regular exercise, most people do not know how to exercise properly. Consequently, they usually rush through their workouts, or they make the same common workout mistakes. (II) Exercising the right way is important for people who are worried about their health and their appearance. (III) However, if someone is not working out properly, they will not see the results they want. Therefore, training experts have devised tips to teach people how to exercise correctly in order to achieve the greatest health benefits. (VI)
One of the most common workout mistakes is doing the same routine over and over again. This does not challenge your muscles, and it can actually prevent muscles from growing and repairing themselves. Instead of always sticking to the same old workout, it is important to change your routine every six to eight weeks. It is also important to add a variety of workouts to your routine, such as swimming, yoga, or biking, to make sure your whole body stays fit. This will help make your workouts more interesting, and benefit your health and muscle development as well.
Another mistake people tend to make is to work out too hard, too often. Your body needs to rest between workouts; otherwise, no progress will be made. It is best to keep the number of hard workout routines to no more than two per week. Then, for those who don’t want to get off schedule by skipping a day, shorter workouts of about twenty minutes can be used on other days. For more variety in workouts, you could also plan an easier routine for forty to sixty minutes between days of shorter, more intense workouts. Experts recommend, however, taking at least one day off completely each week, especially after several hard workout days in a row.
In reality, no one is perfect. However, if you want to make a difference in your overall health, there are some things you can do. Stretch before and after every workout. Do not rush your routine, and do not work out too little or too much. Remember not to make these common workout mistakes, and always have fun while exercising!
The phrase "get off schedule" could be best replaced by:
\(\lim _{x \rightarrow 1} \frac{\sqrt{x+8}-3}{x-2}\) bằng
Read the following announcement and mark the letter A, B, C, or D on your answer sheet to indicate the option that best fits each of the numbered blanks from 1 to 6.
Announcement: Special TV Program with Haile Gebrselassie
We are excited to announce a (1)______ featuring Haile Gebrselassie, a world-famous athlete, known for his incredible achievements in long-distance running. Born in Ethiopia, Haile faced many challenges on his way to success. He (2)______ a decision to attend a school far from his house, which meant he had to run long distances every day. This routine helped him develop the endurance that later made him a champion.
His dedication and hard work led him to win multiple Olympic gold medals and break numerous world records. It was not easy (3)______ these incredible performances, but his determination and passion for running never faded. One of his most remarkable victories was the 10,000-meter race, (4)______ him fame and money, making him a legend in the sport.
Haile then became a (5)______ in long-distance running, inspiring athletes worldwide. Everyone admires Haile (6)______ his perseverance, humility, and contributions to sports development. Don’t miss this exclusive interview, where he will share his journey and insights. Tune in this Sunday at 8 PM!